Package com.iizigo.term.session
Class NewSessionWizardNameTypePage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
com.iizigo.term.session.NewSessionWizardNameTypePage
- All Implemented Interfaces:
- IValidationMessage,- EventListener,- IDialogPage,- IMessageProvider,- IWizardPage,- ModifyListener,- SWTEventListener
public class NewSessionWizardNameTypePage extends WizardPage implements ModifyListener, IValidationMessage
First page for new session: the name and session type.
- Author:
- Christopher Mindus
- Field Summary- Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider- ERROR, INFORMATION, NONE, WARNING
- Constructor SummaryConstructorsConstructorDescription- NewSessionWizardNameTypePage- (PropCnr parentForNaming, EditorTerminalProps props, EditorTerminalProps editSettings) Create the wizard.
- Method SummaryModifier and TypeMethodDescription- void- createControl- (Composite parent) Create contents of the wizard.Gets the next page.Gets the previous page.- voidText is changed, validate.- 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, 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
- Constructor Details- NewSessionWizardNameTypePagepublic NewSessionWizardNameTypePage- (PropCnr parentForNaming, EditorTerminalProps props, EditorTerminalProps editSettings) Create the wizard.- Parameters:
- parentForNaming- Container to name Atom's uniquely.
- props- Terminal properties.
- editSettings- The edited settings, null for new settings.
 
 
- Method Details- createControlCreate contents of the wizard.- Specified by:
- createControlin interface- IDialogPage
 
- setVisiblepublic void setVisible- (boolean visible) Set focus to name at show.- Specified by:
- setVisiblein interface- IDialogPage
- Overrides:
- setVisiblein class- DialogPage
 
- modifyTextText is changed, validate.- Specified by:
- modifyTextin interface- ModifyListener
 
- onValidatepublic void onValidate- (boolean isValid) Call to inform validity of all validators.- Specified by:
- onValidatein interface- IValidationMessage
- Parameters:
- isValid- true if valid, false otherwise.
 
- getNextPageGets the next page.- Specified by:
- getNextPagein interface- IWizardPage
- Overrides:
- getNextPagein class- WizardPage
 
- getPreviousPageGets the previous page.- Specified by:
- getPreviousPagein interface- IWizardPage
- Overrides:
- getPreviousPagein class- WizardPage