net.sourceforge.java.feednread.frontend.configuration
Class DefaultFieldEditorConfigurationPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
org.eclipse.jface.preference.FieldEditorPreferencePage
net.sourceforge.java.feednread.frontend.configuration.DefaultFieldEditorConfigurationPage
- All Implemented Interfaces:
- EventListener, IDialogPage, IMessageProvider, IPreferencePage, IPropertyChangeListener
- Direct Known Subclasses:
- ConnectionConfigurationPage, EnclosureConfigurationPage, LanguageConfigurationPage, PodcastConfigurationPage
- public abstract class DefaultFieldEditorConfigurationPage
- extends FieldEditorPreferencePage
DefaultFieldEditorConfigurationPage extends
FieldEditorPreferencePage to make use of localized button
texts and to display the default button images for the ok, cancel, apply and
defaults button. All configuration pages that create default
FieldEditors should inherit this class.
- Author:
- Sebastian Machhausen
| Fields inherited from class org.eclipse.jface.preference.PreferencePage |
|
| Fields inherited from class org.eclipse.jface.dialogs.DialogPage |
|
|
Method Summary |
void |
createControl(Composite parent)
Creates the control for this
DefaultFieldEditorConfigurationPage.
|
| Methods inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage |
addField, adjustGridLayout, applyFont, checkState, createContents, createFieldEditors, dispose, getFieldEditorParent, initialize, performDefaults, performOk, propertyChange, setVisible |
| Methods inherited from class org.eclipse.jface.preference.PreferencePage |
applyData, applyDialogFont, computeSize, contributeButtons, 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 |
DefaultFieldEditorConfigurationPage
protected DefaultFieldEditorConfigurationPage(int style)
Creates a new DefaultFieldEditorConfigurationPage with the
given style, an empty title, and no image.
- Parameters:
style - either GRID or FLAT
DefaultFieldEditorConfigurationPage
protected DefaultFieldEditorConfigurationPage(String title,
int style)
Creates a new DefaultFieldEditorConfigurationPage with the
given title and style, but no image.
- Parameters:
title - the title of this preference pagestyle - either GRID or FLAT
DefaultFieldEditorConfigurationPage
protected DefaultFieldEditorConfigurationPage(String title,
ImageDescriptor image,
int style)
Creates a new DefaultFieldEditorConfigurationPage with the
given title, image, and style.
- Parameters:
title - the title of this preference pageimage - the image for this preference page, or null
if nonestyle - either GRID or FLAT
createControl
public void createControl(Composite parent)
Creates the control for this
DefaultFieldEditorConfigurationPage.
- Parameters:
parent - the parent container to embed the created control into