Class NewModuleInfoWizardPage

  • All Implemented Interfaces:
    IDialogPage, IMessageProvider, IWizardPage

    public class NewModuleInfoWizardPage
    extends NewTypeWizardPage
    Wizard page to create a new module-info file.

    Note: This class is not intended to be subclassed, but clients can instantiate.

    Since:
    3.14
    Restriction:
    This class is not intended to be subclassed by clients.
    • Constructor Detail

      • NewModuleInfoWizardPage

        public NewModuleInfoWizardPage()
    • Method Detail

      • init

        public void init​(IJavaProject project)
        The wizard owning this page is responsible for calling this method with the current selection's project. The project is used to initialize the fields of the wizard page.
        Parameters:
        project - used to initialize the fields
      • createControl

        public void createControl​(Composite parent)
      • setFocus

        protected void setFocus()
        Sets the focus to the module name field.
        Overrides:
        setFocus in class NewTypeWizardPage
      • getMaxFieldWidth

        protected int getMaxFieldWidth()
        Returns the recommended maximum width for text fields (in pixels). This method requires that createContent has been called before this method is call.
        Overrides:
        getMaxFieldWidth in class NewContainerWizardPage
        Returns:
        the recommended maximum width for text fields.
      • getModuleNameText

        public String getModuleNameText()
        Returns the content of the module name field.
        Returns:
        the content of the module name field
      • getModuleNameStatus

        public IStatus getModuleNameStatus()