Interface IPreferencePageContainer

All Known Implementing Classes:
PreferenceDialog

public interface IPreferencePageContainer
An interface used by a preference page to talk to its dialog.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the preference store.
    void
    Adjusts the enable state of the OK button to reflect the state of the currently active page in this container.
    void
    Updates the message (or error message) shown in the message line to reflect the state of the currently active page in this container.
    void
    Updates the title to reflect the state of the currently active page in this container.
  • Method Details

    • getPreferenceStore

      IPreferenceStore getPreferenceStore()
      Returns the preference store.
      Returns:
      the preference store, or null if none
    • updateButtons

      void updateButtons()
      Adjusts the enable state of the OK button to reflect the state of the currently active page in this container.

      This method is called by the container itself when its preference page changes and may be called by the page at other times to force a button state update.

    • updateMessage

      void updateMessage()
      Updates the message (or error message) shown in the message line to reflect the state of the currently active page in this container.

      This method is called by the container itself when its preference page changes and may be called by the page at other times to force a message update.

    • updateTitle

      void updateTitle()
      Updates the title to reflect the state of the currently active page in this container.

      This method is called by the container itself when its page changes and may be called by the page at other times to force a title update.