Class NewSessionWizard

java.lang.Object
org.eclipse.jface.wizard.Wizard
com.iizigo.term.session.NewSessionWizard
All Implemented Interfaces:
IShellProvider, IWizard

public class NewSessionWizard extends Wizard
New Session Wizard
Author:
Christopher Mindus
  • Field Details

    • WIZARD_ID

      public static final String WIZARD_ID
      The ID.
  • Constructor Details

    • NewSessionWizard

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

    • getEditorTerminalProps

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

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

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

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