com.ibm.lpex.alef.preferences
Class BlockPreferencePage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
org.eclipse.jface.preference.FieldEditorPreferencePage
com.ibm.lpex.alef.preferences.LpexFieldEditorPreferencePage
com.ibm.lpex.alef.preferences.BlockPreferencePage
- All Implemented Interfaces:
- EventListener, IDialogPage, IMessageProvider, IPreferencePage, IPropertyChangeListener, IWorkbenchPreferencePage
- public final class BlockPreferencePage
- extends LpexFieldEditorPreferencePage
Preference page for LPEX's default block settings.
Methods inherited from class org.eclipse.jface.preference.PreferencePage |
applyDialogFont, computeSize, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, okToLeave, performApply, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton |
Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage |
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible |
BlockPreferencePage
public BlockPreferencePage()
- Constructor.
createContents
protected Control createContents(Composite parent)
- Creates and returns the SWT control for the customized body of this
preference page. Overridden in order to set the context help.
createFieldEditors
protected void createFieldEditors()
- Creates the field editors of this preference page.
performOk
public boolean performOk()
- "OK" / "Apply" button pressed.
Commits any new updated value.
performDefaults
protected void performDefaults()
- "Restore Defaults" button pressed.
Sets the value and the dialog field to the editor install setting.
performReset
protected void performReset()
- "Reset" button pressed.
Restores the initial preference page settings.
- Overrides:
performReset
in class LpexFieldEditorPreferencePage
- See Also:
LpexFieldEditorPreferencePage.contributeButtons(org.eclipse.swt.widgets.Composite)
(C) Copyright IBM Corporation 1998, 2005. All Rights Reserved.