Class 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
    Christopher Mindus
    • Field Summary

      Modifier and Type Field Description
      static java.lang.String WIZARD_ID
      The ID.
      • Fields inherited from class org.eclipse.jface.wizard.Wizard

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addPages()
      Adds the required pages.
      boolean canFinish()
      Check if it can finish.
      EditorTerminalProps getEditorTerminalProps()
      Gets the newly created/edited session.
      boolean performFinish()
      Finishes 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • WIZARD_ID

        public static final java.lang.String WIZARD_ID
        The ID.
    • Constructor Detail

      • NewSessionWizard

        public NewSessionWizard​(PropCnr parentForNaming,
                                EditorTerminalProps editSettings)
        Creates the common wizard.
        parentForNaming - Container for unique Atom naming.
        editSettings - The edited settings, null for new/create settings.
    • Method Detail

      • getEditorTerminalProps

        public EditorTerminalProps getEditorTerminalProps()
        Gets the newly created/edited session.
        The terminal properties created or edited.
      • addPages

        public void addPages()
        Adds the required pages.
        Specified by:
        addPages in interface org.eclipse.jface.wizard.IWizard
        addPages in class org.eclipse.jface.wizard.Wizard
      • canFinish

        public boolean canFinish()
        Check if it can finish.
        Specified by:
        canFinish in interface org.eclipse.jface.wizard.IWizard
        canFinish in class org.eclipse.jface.wizard.Wizard
      • performFinish

        public boolean performFinish()
        Finishes the dialog.
        Specified by:
        performFinish in interface org.eclipse.jface.wizard.IWizard
        Specified by:
        performFinish in class org.eclipse.jface.wizard.Wizard
        true to indicate the finish request was accepted, and false to indicate that the finish request was refused.