net.sourceforge.java.feednread.frontend.configuration
Class DefaultConfigurationPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
net.sourceforge.java.feednread.frontend.configuration.DefaultConfigurationPage
- All Implemented Interfaces:
- IDialogPage, IMessageProvider, IPreferencePage
- Direct Known Subclasses:
- ArchiveConfigurationPage, BrowserConfigurationPage, CacheConfigurationPage, FavoritesConfigurationPage, GeneralConfigurationPage, ProxyConfigurationPage, TrayConfigurationPage
- public abstract class DefaultConfigurationPage
- extends PreferencePage
DefaultConfigurationPage extends PreferencePage
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 need finer control on the created editor Controls 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 |
|
| Methods inherited from class org.eclipse.jface.preference.PreferencePage |
applyData, applyDialogFont, computeSize, contributeButtons, createContents, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, okToLeave, performApply, performCancel, performDefaults, performHelp, performOk, 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 |
DefaultConfigurationPage
public DefaultConfigurationPage()
DefaultConfigurationPage default constructor.
DefaultConfigurationPage
public DefaultConfigurationPage(String title)
Creates a new abstract DefaultConfigurationPage with the
given title.
- Parameters:
title - the page title
DefaultConfigurationPage
public DefaultConfigurationPage(String title,
ImageDescriptor image)
Creates a new abstract DefaultConfigurationPage with the
given title and image.
- Parameters:
title - the page titleimage - the image for this page, or null if none
createControl
public void createControl(Composite parent)
Creates the control for this DefaultConfigurationPage.
- Parameters:
parent - the parent container to embed the created control into