Class NewElementWizardPage

All Implemented Interfaces:
IDialogPage, IMessageProvider, IWizardPage
Direct Known Subclasses:
JavaCapabilityConfigurationPage, NewContainerWizardPage, NewJavaProjectWizardPage

public abstract class NewElementWizardPage extends WizardPage
Base class for wizard page responsible to create Java elements. The class provides API to update the wizard's status line and OK button according to the value of a IStatus object.

Clients may subclass.

  • Constructor Details

    • NewElementWizardPage

      public NewElementWizardPage(String name)
      Creates a NewElementWizardPage.
      name - the wizard page's name
  • Method Details

    • setVisible

      public void setVisible(boolean visible)
      Specified by:
      setVisible in interface IDialogPage
      setVisible in class DialogPage
    • updateStatus

      protected void updateStatus(IStatus status)
      Updates the status line and the OK button according to the given status
      status - status to apply
    • updateStatus

      protected void updateStatus(IStatus[] status)
      Updates the status line and the OK button according to the status evaluate from an array of status. The most severe error is taken. In case that two status with the same severity exists, the status with lower index is taken.
      status - the array of status