Class AliasPropertyPage

All Implemented Interfaces:
IDialogPage, IMessageProvider, IPreferencePage, IWorkbenchPropertyPage

public class AliasPropertyPage extends StandardPropertyPage
The Alias page for Module projects.
Author:
Christopher Mindus
  • Constructor Details

    • AliasPropertyPage

      public AliasPropertyPage()
      Constructor for 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(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 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.