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.WizardPage
Second page of the new OXT package export wizard.
-
Field Summary
FieldsFields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureManifest(org.libreoffice.plugin.core.model.UnoPackage model) Set the proper manifest.xml file to the package model from the user selection.voidcreateControl(org.eclipse.swt.widgets.Composite pParent) voidsetManifestPath(org.eclipse.core.resources.IFile file) 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, toStringMethods 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, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisibleMethods inherited from interface org.eclipse.jface.wizard.IWizardPage
getMinimumPageSize
-
Field Details
-
HORIZONTAL_INDENT
public static final int HORIZONTAL_INDENT- See Also:
-
MANIFEST_FILENAME
- See Also:
-
-
Constructor Details
-
ManifestExportPage
Constructor.- Parameters:
pageName- the page nameproject- the project to export
-
-
Method Details
-
setProject
- Parameters:
pProject- the UNO project selected for the wizard.
-
getProject
- Returns:
- the UNO project to export as a package
-
configureManifest
public void configureManifest(org.libreoffice.plugin.core.model.UnoPackage model) Set the proper manifest.xml file to the package model from the user selection.- Parameters:
model- the model to change
-
setManifestPath
public void setManifestPath(org.eclipse.core.resources.IFile file) Define the manifest file to generate and force the dialog to this value.- Parameters:
file- the file to set ornullto remove the current existing value
-
createControl
public void createControl(org.eclipse.swt.widgets.Composite pParent)
-