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