| package org.eclipse.jface.preference; |
| |
| /* |
| * (c) Copyright IBM Corp. 2000, 2001. |
| * All Rights Reserved. |
| */ |
| /** |
| * An interface used by a preference page to talk to |
| * its dialog. |
| */ |
| public interface IPreferencePageContainer { |
| /** |
| * Returns the preference store. |
| * |
| * @return the preference store, or <code>null</code> if none |
| */ |
| public IPreferenceStore getPreferenceStore(); |
| /** |
| * Adjusts the enable state of the OK |
| * button to reflect the state of the currently active |
| * page in this container. |
| * <p> |
| * 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. |
| * </p> |
| */ |
| public void updateButtons(); |
| /** |
| * Updates the message (or error message) shown in the message line to |
| * reflect the state of the currently active page in this container. |
| * <p> |
| * 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. |
| * </p> |
| */ |
| public void updateMessage(); |
| /** |
| * Updates the title to reflect the state of the |
| * currently active page in this container. |
| * <p> |
| * 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. |
| * </p> |
| */ |
| public void updateTitle(); |
| } |