Package com.iizigo.term.session
Class NewSessionWizardHostPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
com.iizigo.term.session.NewSessionWizardHostPage
- All Implemented Interfaces:
IValidationMessage,EventListener,org.eclipse.jface.dialogs.IDialogPage,org.eclipse.jface.dialogs.IMessageProvider,org.eclipse.jface.wizard.IWizardPage,org.eclipse.swt.events.ModifyListener,org.eclipse.swt.internal.SWTEventListener
public class NewSessionWizardHostPage extends org.eclipse.jface.wizard.WizardPage implements org.eclipse.swt.events.ModifyListener, IValidationMessage
Host page for new 3270/5250 sessions.
- Author:
- Christopher Mindus
Field Summary
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNINGConstructor Summary
ConstructorsConstructorDescriptionNewSessionWizardHostPage(EditorTerminalProps props, boolean isEdit) Create the wizard.Method Summary
Modifier and TypeMethodDescriptionvoidcreateControl(org.eclipse.swt.widgets.Composite parent) Create contents of the wizard.org.eclipse.jface.wizard.IWizardPageGets the next page.org.eclipse.jface.wizard.IWizardPageGets the previous page.voidmodifyText(org.eclipse.swt.events.ModifyEvent e) Text is changed, validate.voidonValidate(boolean isValid) Call to inform validity of all validators.voidsetVisible(boolean visible) Set focus 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, 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
NewSessionWizardHostPage
Create the wizard.- Parameters:
props- The terminal properties.isEdit- Flag for editing settings or new creation.
Method Details
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent) Create contents of the wizard.- Specified by:
createControlin interfaceorg.eclipse.jface.dialogs.IDialogPage
setVisible
public void setVisible(boolean visible) Set focus at show.- Specified by:
setVisiblein interfaceorg.eclipse.jface.dialogs.IDialogPage- Overrides:
setVisiblein classorg.eclipse.jface.dialogs.DialogPage
onValidate
public void onValidate(boolean isValid) Call to inform validity of all validators.- Specified by:
onValidatein interfaceIValidationMessage- Parameters:
isValid- true if valid, false otherwise.
modifyText
public void modifyText(org.eclipse.swt.events.ModifyEvent e) Text is changed, validate.- Specified by:
modifyTextin interfaceorg.eclipse.swt.events.ModifyListener
getNextPage
public org.eclipse.jface.wizard.IWizardPage getNextPage()Gets the next page.- Specified by:
getNextPagein interfaceorg.eclipse.jface.wizard.IWizardPage- Overrides:
getNextPagein classorg.eclipse.jface.wizard.WizardPage
getPreviousPage
public org.eclipse.jface.wizard.IWizardPage getPreviousPage()Gets the previous page.- Specified by:
getPreviousPagein interfaceorg.eclipse.jface.wizard.IWizardPage- Overrides:
getPreviousPagein classorg.eclipse.jface.wizard.WizardPage