Package com.iizigo.vs
Class NewVSColumnWizardPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
com.iizigo.vs.NewVSColumnWizardPage
- All Implemented Interfaces:
IValidationMessage
,IDialogPage
,IMessageProvider
,IWizardPage
Creation of VS Table Column 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
Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionCreates the field.void
createControl
(Composite parent) Create contents of the wizard.static EditorVSColumnHeader
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
Methods inherited from interface com.iizigo.validator.IValidationMessage
setMessage
Methods inherited from interface org.eclipse.jface.wizard.IWizardPage
getMinimumPageSize
Constructor Details
NewVSColumnWizardPage
Create the wizard.
Method Details
createControl
Create contents of the wizard.- Specified by:
createControl
in interfaceIDialogPage
setVisible
public void setVisible(boolean visible) Set focus to name at show.- Specified by:
setVisible
in interfaceIDialogPage
- Overrides:
setVisible
in classDialogPage
onValidate
public void onValidate(boolean isValid) Call to inform validity of all validators.- Specified by:
onValidate
in interfaceIValidationMessage
- Parameters:
isValid
- true if valid, false otherwise.
create
Creates the field.doCreate
public static EditorVSColumnHeader doCreate(Atom name, PropCnr vsParent, INewVSComponentWizardInfo info, ComplexOperation op) Creates the field when a dialog box is present.- Parameters:
name
- The name of the column.vsParent
- The parent of the column.info
- The information instance.op
- The complex operation.