Class ManifestExportPage
- java.lang.Object
-
- org.eclipse.jface.dialogs.DialogPage
-
- org.eclipse.jface.wizard.WizardPage
-
- org.libreoffice.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.WizardPageSecond page of the new OXT package export wizard.
-
-
Field Summary
Fields Modifier and Type Field Description static intHORIZONTAL_INDENTstatic java.lang.StringMANIFEST_FILENAME
-
Constructor Summary
Constructors Constructor Description ManifestExportPage(java.lang.String pPageName, IUnoidlProject pProject)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigureManifest(org.libreoffice.plugin.core.model.UnoPackage pModel)Set the proper manifest.xml file to the package model from the user selection.voidcreateControl(org.eclipse.swt.widgets.Composite pParent)IUnoidlProjectgetProject()voidsetManifestPath(org.eclipse.core.resources.IFile pFile)Define the manifest file to generate and force the dialog to this value.voidsetProject(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
-
-
-
-
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 namepProject- 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.libreoffice.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
-
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 ornullto remove the current existing value
-
createControl
public void createControl(org.eclipse.swt.widgets.Composite pParent)
-
-