Method Summary |
|
public void | applyData(Object data) Apply the data to the receiver. |
protected void | applyDialogFont(Composite composite) Apply the dialog font to the composite and it's children
if it is set. |
public Point | computeSize() Computes the size for this page's UI control. |
protected void | contributeButtons(Composite parent) Contributes additional buttons to the given composite.
The default implementation of this framework hook method does
nothing. |
abstract protected Control | createContents(Composite parent) Creates and returns the SWT control for the customized body
of this preference page under the given parent composite.
This framework method must be implemented by concrete subclasses. |
public void | createControl(Composite parent) The PreferencePage implementation of this
IDialogPage method creates a description label
and button bar for the page. |
protected Label | createDescriptionLabel(Composite parent) Creates and returns an SWT label under the given composite. |
protected Composite | createNoteComposite(Font font, Composite composite, String title, String message) Creates a composite with a highlighted Note entry and a message text. |
protected Point | doComputeSize() Computes the size needed by this page's UI control. |
protected IPreferenceStore | doGetPreferenceStore() Returns the preference store of this preference page.
This is a framework hook method for subclasses to return a
page-specific preference store. |
protected Button | getApplyButton() Returns the Apply button. |
public IPreferencePageContainer | getContainer() Returns the container of this page. |
protected Button | getDefaultsButton() Returns the Restore Defaults button. |
public IPreferenceStore | getPreferenceStore() Returns the preference store of this preference page. |
public boolean | isValid() The preference page implementation of an IPreferencePage
method returns whether this preference page is valid. |
protected void | noDefaultAndApplyButton() Suppresses creation of the standard Default and Apply buttons
for this page. |
public boolean | okToLeave() The PreferencePage implementation of this
IPreferencePage method returns true
if the page is valid. |
protected void | performApply() Performs special processing when this page's Apply button has been pressed. |
public boolean | performCancel() The preference page implementation of an IPreferencePage
method performs special processing when this page's Cancel button has
been pressed.
This is a framework hook method for subclasses to do special things when
the Cancel button has been pressed. |
protected void | performDefaults() Performs special processing when this page's Defaults button has been pressed. |
public void | performHelp() |
public boolean | performOk() |
public void | setContainer(IPreferencePageContainer container) |
public void | setErrorMessage(String newMessage) |
public void | setMessage(String newMessage, int newType) |
public void | setPreferenceStore(IPreferenceStore store) Sets the preference store for this preference page. |
public void | setSize(Point uiSize) |
public void | setTitle(String title) The PreferencePage implementation of this IDialogPage
method extends the DialogPage implementation to update
the preference page container title. |
public void | setValid(boolean b) Sets whether this page is valid. |
public String | toString() |
protected void | updateApplyButton() Updates the enabled state of the Apply button to reflect whether
this page is valid. |