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.WizardPage
First page of the new UNO extension export wizard.
-
Field Summary
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING -
Constructor Summary
ConstructorsConstructorDescriptionUnoPackageExportPage(String pageName, IUnoidlProject prj, ManifestExportPage manifestPage) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateControl(org.eclipse.swt.widgets.Composite pParent) voidForce a build of the selected project.org.libreoffice.plugin.core.model.UnoPackagevoidRefresh the selected project.voidLoads the saved values of the controls states.voidStores 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, 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
-
Constructor Details
-
UnoPackageExportPage
Constructor.- Parameters:
pageName- the page idprj- the project to exportmanifestPage- the manifest page of the wizard
-
-
Method Details
-
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
Force a build of the selected project.- Throws:
Exception- if the project couldn't be built.
-