Package org.eclipse.jface.preference
Interface IPreferencePageContainer
-
- All Known Implementing Classes:
PreferenceDialog
public interface IPreferencePageContainerAn interface used by a preference page to talk to its dialog.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IPreferenceStoregetPreferenceStore()Returns the preference store.voidupdateButtons()Adjusts the enable state of the OK button to reflect the state of the currently active page in this container.voidupdateMessage()Updates the message (or error message) shown in the message line to reflect the state of the currently active page in this container.voidupdateTitle()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
nullif 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.
-
-