Class NewScreenWizard

  • All Implemented Interfaces:
    org.eclipse.jface.window.IShellProvider, org.eclipse.jface.wizard.IWizard, org.eclipse.ui.INewWizard, org.eclipse.ui.IWorkbenchWizard

    public class NewScreenWizard
    extends NewWizard
    Wizard to create a new Terminal Screen.
    Author:
    Christopher Mindus
    • Constructor Summary

      Constructors 
      ConstructorDescription
      NewScreenWizard()
      Creates the text table wizard.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidaddPages()
      Adds the extra required pages.
      static voidopen​(org.eclipse.swt.widgets.Shell shell, EditorTerminalProps props)
      Requests a new screen wizard for these terminal properties.
      booleanperformFinish()
      Finishes the dialog.
      • Methods inherited from class org.eclipse.jface.wizard.Wizard

        canFinish, 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
      • Methods inherited from interface org.eclipse.jface.wizard.IWizard

        canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
    • Field Detail

      • WIZARD_ID

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

      • NewScreenWizard

        public NewScreenWizard()
        Creates the text table wizard.
    • Method Detail

      • open

        public static void open​(org.eclipse.swt.widgets.Shell shell,
                                EditorTerminalProps props)
        Requests a new screen wizard for these terminal properties.
        Parameters:
        shell - The shell.
        props - Terminal properties for screen.
      • addPages

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

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