Class NewSessionWizardNameTypePage

  • All Implemented Interfaces:
    IValidationMessage, java.util.EventListener, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage,, org.eclipse.swt.internal.SWTEventListener

    public class NewSessionWizardNameTypePage
    extends org.eclipse.jface.wizard.WizardPage
    implements, IValidationMessage
    First page for new session: the name and session type.
    Christopher Mindus
    • Field Summary

      • Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void createControl​(org.eclipse.swt.widgets.Composite parent)
      Create contents of the wizard.
      org.eclipse.jface.wizard.IWizardPage getNextPage()
      Gets the next page.
      org.eclipse.jface.wizard.IWizardPage getPreviousPage()
      Gets the previous page.
      void modifyText​( e)
      Text is changed, validate.
      void onValidate​(boolean isValid)
      Call to inform validity of all validators.
      void setVisible​(boolean visible)
      Set focus to name at show.
      • Methods inherited from class org.eclipse.jface.wizard.WizardPage

        canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
      • Methods inherited from class org.eclipse.jface.dialogs.DialogPage

        convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage

        dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp
    • Constructor Detail

      • NewSessionWizardNameTypePage

        public NewSessionWizardNameTypePage​(PropCnr parentForNaming,
                                            EditorTerminalProps props,
                                            EditorTerminalProps editSettings)
        Create the wizard.
        parentForNaming - Container to name Atom's uniquely.
        props - Terminal properties.
        editSettings - The edited settings, null for new settings.
    • Method Detail

      • createControl

        public void createControl​(org.eclipse.swt.widgets.Composite parent)
        Create contents of the wizard.
        Specified by:
        createControl in interface org.eclipse.jface.dialogs.IDialogPage
      • setVisible

        public void setVisible​(boolean visible)
        Set focus to name at show.
        Specified by:
        setVisible in interface org.eclipse.jface.dialogs.IDialogPage
        setVisible in class org.eclipse.jface.dialogs.DialogPage
      • modifyText

        public void modifyText​( e)
        Text is changed, validate.
        Specified by:
        modifyText in interface
      • onValidate

        public void onValidate​(boolean isValid)
        Call to inform validity of all validators.
        Specified by:
        onValidate in interface IValidationMessage
        isValid - true if valid, false otherwise.
      • getNextPage

        public org.eclipse.jface.wizard.IWizardPage getNextPage()
        Gets the next page.
        Specified by:
        getNextPage in interface org.eclipse.jface.wizard.IWizardPage
        getNextPage in class org.eclipse.jface.wizard.WizardPage
      • getPreviousPage

        public org.eclipse.jface.wizard.IWizardPage getPreviousPage()
        Gets the previous page.
        Specified by:
        getPreviousPage in interface org.eclipse.jface.wizard.IWizardPage
        getPreviousPage in class org.eclipse.jface.wizard.WizardPage