org.openoffice.ide.eclipse.core.wizards.pages
Class ManifestExportPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by org.openoffice.ide.eclipse.core.wizards.pages.ManifestExportPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class ManifestExportPage
extends org.eclipse.jface.wizard.WizardPage

Second page of the new OXT package export wizard.

Author:
Cédric Bosdonnat

Field Summary
static int HORIZONTAL_INDENT
           
static java.lang.String MANIFEST_FILENAME
           
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
ManifestExportPage(java.lang.String pPageName, IUnoidlProject pProject)
          Constructor.
 
Method Summary
 void configureManifest(org.openoffice.plugin.core.model.UnoPackage pModel)
          Set the proper manifest.xml file to the package model from the user selection.
 void createBuildScripts(org.openoffice.plugin.core.model.UnoPackage pModel)
          Create the build scripts for the package model if required by the user.
 void createControl(org.eclipse.swt.widgets.Composite pParent)
          
 IUnoidlProject getProject()
           
 void setManifestPath(org.eclipse.core.resources.IFile pFile)
          Define the manifest file to generate and force the dialog to this value.
 void setProject(IUnoidlProject pProject)
           
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Field Detail

HORIZONTAL_INDENT

public static final int HORIZONTAL_INDENT
See Also:
Constant Field Values

MANIFEST_FILENAME

public static final java.lang.String MANIFEST_FILENAME
See Also:
Constant Field Values
Constructor Detail

ManifestExportPage

public ManifestExportPage(java.lang.String pPageName,
                          IUnoidlProject pProject)
Constructor.

Parameters:
pPageName - the page name
pProject - the project to export
Method Detail

setProject

public void setProject(IUnoidlProject pProject)
Parameters:
pProject - the UNO project selected for the wizard.

getProject

public IUnoidlProject getProject()
Returns:
the UNO project to export as a package

configureManifest

public void configureManifest(org.openoffice.plugin.core.model.UnoPackage pModel)
Set the proper manifest.xml file to the package model from the user selection.

Parameters:
pModel - the model to change

createBuildScripts

public void createBuildScripts(org.openoffice.plugin.core.model.UnoPackage pModel)
Create the build scripts for the package model if required by the user.

Parameters:
pModel - the model to export

setManifestPath

public void setManifestPath(org.eclipse.core.resources.IFile pFile)
Define the manifest file to generate and force the dialog to this value.

Parameters:
pFile - the file to set or null to remove the current existing value

createControl

public void createControl(org.eclipse.swt.widgets.Composite pParent)