Package com.iizigo.term.session
Class NewSessionWizard
java.lang.Object
org.eclipse.jface.wizard.Wizard
com.iizigo.term.session.NewSessionWizard
- All Implemented Interfaces:
- org.eclipse.jface.window.IShellProvider,- org.eclipse.jface.wizard.IWizard
public class NewSessionWizard extends org.eclipse.jface.wizard.Wizard
New Session Wizard
- Author:
- Christopher Mindus
- Field SummaryFields- Fields inherited from class org.eclipse.jface.wizard.Wizard- DEFAULT_IMAGE
- Constructor SummaryConstructorsConstructorDescription- NewSessionWizard- (PropCnr parentForNaming, EditorTerminalProps editSettings) Creates the common wizard.
- Method SummaryModifier and TypeMethodDescription- void- addPages()Adds the required pages.- booleanCheck if it can finish.Gets the newly created/edited session.- booleanFinishes the dialog.- Methods inherited from class org.eclipse.jface.wizard.Wizard- addPage, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
- Field Details- WIZARD_IDThe ID.
 
- Constructor Details- NewSessionWizardCreates the common wizard.- Parameters:
- parentForNaming- Container for unique Atom naming.
- editSettings- The edited settings, null for new/create settings.
 
 
- Method Details- getEditorTerminalPropsGets the newly created/edited session.- Returns:
- The terminal properties created or edited.
 
- addPagespublic void addPages()Adds the required pages.- Specified by:
- addPagesin interface- org.eclipse.jface.wizard.IWizard
- Overrides:
- addPagesin class- org.eclipse.jface.wizard.Wizard
 
- canFinishpublic boolean canFinish()Check if it can finish.- Specified by:
- canFinishin interface- org.eclipse.jface.wizard.IWizard
- Overrides:
- canFinishin class- org.eclipse.jface.wizard.Wizard
 
- performFinishpublic boolean performFinish()Finishes the dialog.- Specified by:
- performFinishin interface- org.eclipse.jface.wizard.IWizard
- Specified by:
- performFinishin class- org.eclipse.jface.wizard.Wizard
- Returns:
- true to indicate the finish request was accepted, and false to indicate that the finish request was refused.