Class UnoPackageExportPage
- java.lang.Object
-
- org.eclipse.jface.dialogs.DialogPage
-
- org.eclipse.jface.wizard.WizardPage
-
- org.libreoffice.ide.eclipse.core.wizards.pages.UnoPackageExportPage
-
- All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage,org.eclipse.jface.dialogs.IMessageProvider,org.eclipse.jface.wizard.IWizardPage
public class UnoPackageExportPage extends org.eclipse.jface.wizard.WizardPageFirst page of the new UNO extension export wizard.
-
-
Constructor Summary
Constructors Constructor Description UnoPackageExportPage(java.lang.String pPageName, IUnoidlProject pPrj, ManifestExportPage pManifestPage)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateControl(org.eclipse.swt.widgets.Composite pParent)voidforceBuild()Force a build of the selected project.org.libreoffice.plugin.core.model.UnoPackagegetPackageModel()voidrefreshProject()Refresh the selected project.voidrestoreWidgetValues()Loads the saved values of the controls states.voidsaveWidgetValues()Stores the controls values for the next instance of the page.-
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
-
-
-
-
Constructor Detail
-
UnoPackageExportPage
public UnoPackageExportPage(java.lang.String pPageName, IUnoidlProject pPrj, ManifestExportPage pManifestPage)Constructor.- Parameters:
pPageName- the page idpPrj- the project to exportpManifestPage- the manifest page of the wizard
-
-
Method Detail
-
createControl
public void createControl(org.eclipse.swt.widgets.Composite pParent)
-
saveWidgetValues
public void saveWidgetValues()
Stores the controls values for the next instance of the page.
-
restoreWidgetValues
public void restoreWidgetValues()
Loads the saved values of the controls states.
-
getPackageModel
public org.libreoffice.plugin.core.model.UnoPackage getPackageModel()
- Returns:
- the package model built from the data provided by the user or
nullif something blocked the process.
-
refreshProject
public void refreshProject()
Refresh the selected project.
-
forceBuild
public void forceBuild() throws java.lang.ExceptionForce a build of the selected project.- Throws:
java.lang.Exception- if the project couldn't be built.
-
-