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

    Constructors
    Constructor
    Description
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    createControl(org.eclipse.swt.widgets.Composite pParent)
    void
    Force a build of the selected project.
    org.libreoffice.plugin.core.model.UnoPackage
     
    void
    Refresh the selected project.
    void
    Loads the saved values of the controls states.
    void
    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

    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

    Methods inherited from interface org.eclipse.jface.wizard.IWizardPage

    getMinimumPageSize
  • Constructor Details

    • UnoPackageExportPage

      public UnoPackageExportPage(String pageName, IUnoidlProject prj, ManifestExportPage manifestPage)
      Constructor.
      Parameters:
      pageName - the page id
      prj - the project to export
      manifestPage - 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 null if something blocked the process.
    • refreshProject

      public void refreshProject()
      Refresh the selected project.
    • forceBuild

      public void forceBuild() throws Exception
      Force a build of the selected project.
      Throws:
      Exception - if the project couldn't be built.