|
TPTP 4.4.0 Monitoring Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
org.eclipse.tptp.monitoring.instrumentation.ui.preferences.CbePreferencePage
This class represents a preference page that is contributed to the CBE options Preferences dialog. This page is used to modify preferences only. They are stored in the preference store that belongs to the main plug-in class. That way, preferences can be accessed directly via the preference store.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
|---|
ERROR, INFORMATION, NONE, WARNING |
| Constructor Summary | |
|---|---|
CbePreferencePage()
|
|
| Method Summary | |
|---|---|
protected org.eclipse.swt.widgets.Control |
createContents(org.eclipse.swt.widgets.Composite parent)
|
protected org.eclipse.jface.preference.IPreferenceStore |
doGetPreferenceStore()
Returns the preference store of this preference page. |
void |
init(org.eclipse.ui.IWorkbench workbench)
Initializes this preference page for the given workbench. |
protected void |
performApply()
Performs special processing when this page's Apply button has been pressed. |
protected void |
performDefaults()
Performs special processing when this page's Defaults button has been pressed. |
boolean |
performOk()
Performs special processing when this page's Defaults button has been pressed. |
| Methods inherited from class org.eclipse.jface.preference.PreferencePage |
|---|
applyData, applyDialogFont, computeSize, contributeButtons, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, okToLeave, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton |
| Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
|---|
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage, setVisible |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.preference.IPreferencePage |
|---|
computeSize, isValid, okToLeave, performCancel, setContainer, setSize |
| Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
|---|
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible |
| Constructor Detail |
public CbePreferencePage()
| Method Detail |
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
protected org.eclipse.jface.preference.IPreferenceStore doGetPreferenceStore()
This is a framework hook method for subclasses to return a page-specific
preference store. The default implementation returns null.
null if noneprotected void performApply()
This is a framework hook method for sublcasses to do special things when
the Apply button has been pressed. The default implementation of this
framework method simply calls performOk to simulate the
pressing of the page's OK button.
performOk()protected void performDefaults()
This is a framework hook method for subclasses to do special things when
the Defaults button has been pressed. Subclasses may override, but should
call super.performDefaults.
public boolean performOk()
This is a framework hook method for subclasses to do special things when
the Defaults button has been pressed. Subclasses may override, but should
call super.performDefaults.
performOk in interface org.eclipse.jface.preference.IPreferencePagepublic void init(org.eclipse.ui.IWorkbench workbench)
This method is called automatically as the preference page is being created and initialized. Clients must not call this method.
init in interface org.eclipse.ui.IWorkbenchPreferencePageworkbench - the workbench
|
TPTP 4.4.0 Monitoring Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||