Class 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

      Fields 
      Modifier and Type Field Description
      static int HORIZONTAL_INDENT  
      static java.lang.String MANIFEST_FILENAME  
      • 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 configureManifest​(org.libreoffice.plugin.core.model.UnoPackage pModel)
      Set the proper manifest.xml file to the package model from the user selection.
      void createControl​(org.eclipse.swt.widgets.Composite pParent)
      IUnoidlProject getProject()  
      void setManifestPath​(org.eclipse.core.resources.IFile pFile)
      Define the manifest file to generate and force the dialog to this value.
      void setProject​(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, 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

      • ManifestExportPage

        public ManifestExportPage​(java.lang.String pPageName,
                                  IUnoidlProject pProject)
        Constructor.
        Parameters:
        pPageName - the page name
        pProject - the project to export
    • Method Detail

      • setProject

        public void setProject​(IUnoidlProject pProject)
        Parameters:
        pProject - the UNO project selected for the wizard.
      • getProject

        public IUnoidlProject getProject()
        Returns:
        the UNO project to export as a package
      • configureManifest

        public void configureManifest​(org.libreoffice.plugin.core.model.UnoPackage pModel)
        Set the proper manifest.xml file to the package model from the user selection.
        Parameters:
        pModel - the model to change
      • setManifestPath

        public void setManifestPath​(org.eclipse.core.resources.IFile pFile)
        Define the manifest file to generate and force the dialog to this value.
        Parameters:
        pFile - the file to set or null to remove the current existing value
      • createControl

        public void createControl​(org.eclipse.swt.widgets.Composite pParent)