Class NewVSTableWizardPage

All Implemented Interfaces:
IValidationMessage, IDialogPage, IMessageProvider, IWizardPage

public class NewVSTableWizardPage extends WizardPage implements IValidationMessage
Creation of VS Table wizard page. Selects the parent and the table name and creates it.
Author:
Christopher Mindus
  • Constructor Details

  • Method Details

    • createControl

      public void createControl(Composite parent)
      Create contents of the wizard.
      Specified by:
      createControl in interface IDialogPage
    • setVisible

      public void setVisible(boolean visible)
      Set focus to name at show.
      Specified by:
      setVisible in interface IDialogPage
      Overrides:
      setVisible in class DialogPage
    • onValidate

      public void onValidate(boolean isValid)
      Call to inform validity of all validators.
      Specified by:
      onValidate in interface IValidationMessage
      Parameters:
      isValid - true if valid, false otherwise.
    • create

      public EditorVSTable create(ComplexOperation op)
      Creates the table.
    • doCreate

      public static EditorVSTable doCreate(Atom name, PropCnr vsParent, INewVSComponentWizardInfo info, ComplexOperation op)
      Creates the field when a dialog box is present.
      Parameters:
      name - The name of the field.
      vsParent - The parent of the field.
      info - The information instance.
      op - The complex operation.
      Returns:
      The created table, already added to vsParent by the complex operation.