Class TerminalModelPropertyPage

java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
org.eclipse.ui.dialogs.PropertyPage
com.iizigo.project.StandardPropertyPage
com.iizigo.term.project.TerminalModelPropertyPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.preference.IPreferencePage, org.eclipse.ui.IWorkbenchPropertyPage

public class TerminalModelPropertyPage extends StandardPropertyPage
The Alias page for Module projects.
Author:
Christopher Mindus
  • Field Summary

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

    ERROR, INFORMATION, NONE, WARNING
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor for Folder property page.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    Initializes the page for the selected object if it's of correct type and contents.
    protected void
    createContents(org.eclipse.swt.widgets.Composite composite, int parentWidth, int stdButtonWidth)
    The real creator.
    protected void
    Performs special processing when this page's Defaults button has been pressed.
    protected boolean
    Save settings.

    Methods inherited from class org.eclipse.ui.dialogs.PropertyPage

    getElement, setElement

    Methods inherited from class org.eclipse.jface.preference.PreferencePage

    applyData, applyDialogFont, computeSize, contributeButtons, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, noDefaultButton, okToLeave, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString

    Methods inherited from class org.eclipse.jface.dialogs.DialogPage

    convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage, setVisible

    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, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible

    Methods inherited from interface org.eclipse.jface.preference.IPreferencePage

    computeSize, isValid, okToLeave, performCancel, setContainer, setSize
  • Constructor Details

    • TerminalModelPropertyPage

      public TerminalModelPropertyPage()
      Constructor for Folder property page.
  • Method Details

    • checkSelectedElement

      protected String checkSelectedElement(Object element)
      Initializes the page for the selected object if it's of correct type and contents. If not, return an error message.
      Specified by:
      checkSelectedElement in class StandardPropertyPage
      Parameters:
      element - The selected element (normally from the Common Navigator).
      Returns:
      Error message, or null for OK.
    • createContents

      protected void createContents(org.eclipse.swt.widgets.Composite composite, int parentWidth, int stdButtonWidth)
      The real creator. The composite is created with no layout.
      Specified by:
      createContents in class StandardPropertyPage
      Parameters:
      composite - The composite to fill with controls.
      parentWidth - The parent width.
      stdButtonWidth - The standard button width (Apply, Defaults).
    • performDefaults

      protected void performDefaults()
      Performs special processing when this page's Defaults button has been pressed.
      Overrides:
      performDefaults in class org.eclipse.jface.preference.PreferencePage
    • saveSettings

      protected boolean saveSettings()
      Save settings. Override to save settings.
      Specified by:
      saveSettings in class StandardPropertyPage
      Returns:
      false for failure, OK to keep on going.