Interface IPreferencePageContainer

  • All Known Implementing Classes:
    PreferenceDialog

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      IPreferenceStore getPreferenceStore()
      Returns the preference store.
      void updateButtons()
      Adjusts the enable state of the OK button to reflect the state of the currently active page in this container.
      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.
      void updateTitle()
      Updates the title to reflect the state of the currently active page in this container.
    • Method Detail

      • 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.