Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void createControl​(org.eclipse.swt.widgets.Composite pParent)
      void forceBuild()
      Force a build of the selected project.
      org.libreoffice.plugin.core.model.UnoPackage getPackageModel()  
      void refreshProject()
      Refresh the selected project.
      void restoreWidgetValues()
      Loads the saved values of the controls states.
      void saveWidgetValues()
      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
    • Constructor Detail

      • UnoPackageExportPage

        public UnoPackageExportPage​(java.lang.String pPageName,
                                    IUnoidlProject pPrj,
                                    ManifestExportPage pManifestPage)
        Constructor.
        Parameters:
        pPageName - the page id
        pPrj - the project to export
        pManifestPage - 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 null if something blocked the process.
      • refreshProject

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

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