Package com.iizigo.vs

Class NewVSFieldWizardPage

  • All Implemented Interfaces:
    IValidationMessage, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

    public class NewVSFieldWizardPage
    extends org.eclipse.jface.wizard.WizardPage
    implements IValidationMessage
    Creation of VS Field wizard page. Selects the parent and the field name and creates it.
    Author:
    Christopher Mindus
    • Field Summary

      • Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider

        ERROR, INFORMATION, NONE, WARNING
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      EditorVSField create​(Atom name, PropCnr vsParent, ComplexOperation op)
      Creates the field when a dialog box is present.
      void createControl​(org.eclipse.swt.widgets.Composite parent)
      Create contents of the wizard.
      static EditorVSField doCreate​(Atom name, PropCnr vsParent, INewVSComponentWizardInfo info, ComplexOperation op)
      Creates the field when a dialog box is present.
      void onValidate​(boolean isValid)
      Call to inform validity of all validators.
      void setVisible​(boolean visible)
      Set focus to name at show.
      • 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
      • 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
    • Method Detail

      • createControl

        public void createControl​(org.eclipse.swt.widgets.Composite parent)
        Create contents of the wizard.
        Specified by:
        createControl in interface org.eclipse.jface.dialogs.IDialogPage
      • setVisible

        public void setVisible​(boolean visible)
        Set focus to name at show.
        Specified by:
        setVisible in interface org.eclipse.jface.dialogs.IDialogPage
        Overrides:
        setVisible in class org.eclipse.jface.dialogs.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.
      • doCreate

        public static EditorVSField 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.