Package com.iizigo.vs
Class NewVSFieldWizardPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
com.iizigo.vs.NewVSFieldWizardPage
- All Implemented Interfaces:
IValidationMessage,IDialogPage,IMessageProvider,IWizardPage
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, WARNINGConstructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptioncreate(Atom name, PropCnr vsParent, ComplexOperation op) Creates the field when a dialog box is present.voidcreateControl(Composite parent) Create contents of the wizard.static EditorVSFielddoCreate(Atom name, PropCnr vsParent, INewVSComponentWizardInfo info, ComplexOperation op) Creates the field when a dialog box is present.voidonValidate(boolean isValid) Call to inform validity of all validators.voidsetVisible(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, toStringMethods 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, setMessageMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelpMethods inherited from interface com.iizigo.validator.IValidationMessage
setMessage
Constructor Details
NewVSFieldWizardPage
Create the wizard.
Method Details
createControl
Create contents of the wizard.- Specified by:
createControlin interfaceIDialogPage
setVisible
public void setVisible(boolean visible) Set focus to name at show.- Specified by:
setVisiblein interfaceIDialogPage- Overrides:
setVisiblein classDialogPage
onValidate
public void onValidate(boolean isValid) Call to inform validity of all validators.- Specified by:
onValidatein interfaceIValidationMessage- Parameters:
isValid- true if valid, false otherwise.
create
Creates the field when a dialog box is present.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.