org.eclipse.ui.editors.text
Class TextEditorPreferencePage
java.lang.Object
|
+--org.eclipse.jface.dialogs.DialogPage
|
+--org.eclipse.jface.preference.PreferencePage
|
+--org.eclipse.jface.preference.FieldEditorPreferencePage
|
+--org.eclipse.ui.editors.text.TextEditorPreferencePage
- All Implemented Interfaces:
- EventListener, IDialogPage, IMessageProvider, IPreferencePage, IPropertyChangeListener, IWorkbenchPreferencePage
Deprecated. As of 2.1 fonts are managed by the workbench
- public class TextEditorPreferencePage
- extends FieldEditorPreferencePage
- implements IWorkbenchPreferencePage
A preference page to set the font used in the default text editor.
This preference page uses the text editor's preference bundle and
uses the key "PreferencePage.description"
to look up
the page description. In addition, it uses "PreferencePage.fontEditor"
for the editor description.
Method Summary |
void |
createControl(Composite parent)
Deprecated. Creates the top level control for this dialog
page under the given parent composite. |
void |
createFieldEditors()
Deprecated. Creates the page's field editors. |
void |
init(IWorkbench workbench)
Deprecated. Initializes this preference page for the given workbench. |
static void |
initDefaults(IPreferenceStore store)
Deprecated. Initialzes the defaults for the given store. |
Methods inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage |
addField, adjustGridLayout, applyFont, checkState, createContents, dispose, getFieldEditorParent, initialize, performDefaults, performOk, propertyChange, setVisible |
Methods inherited from class org.eclipse.jface.preference.PreferencePage |
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 |
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible |
TextEditorPreferencePage
public TextEditorPreferencePage()
- Deprecated.
- Creates and returns the text editor preference page.
createControl
public void createControl(Composite parent)
- Deprecated.
- Description copied from interface:
IDialogPage
- Creates the top level control for this dialog
page under the given parent composite.
Implementors are responsible for ensuring that
the created control can be accessed via getControl
- Specified by:
createControl
in interface IDialogPage
- Overrides:
createControl
in class PreferencePage
- Following copied from interface:
org.eclipse.jface.dialogs.IDialogPage
- Parameters:
parent
- the parent composite
createFieldEditors
public void createFieldEditors()
- Deprecated.
- Description copied from class:
FieldEditorPreferencePage
- Creates the page's field editors.
The default implementation of this framework method
does nothing. Subclass must implement this method to
create the field editors.
Subclasses should call getFieldEditorParent
to obtain the parent control for each field editor.
This same parent should not be used for more than
one editor as the parent may change for each field
editor depending on the layout style of the page
- Overrides:
createFieldEditors
in class FieldEditorPreferencePage
init
public void init(IWorkbench workbench)
- Deprecated.
- Description copied from interface:
IWorkbenchPreferencePage
- Initializes this preference page for the given workbench.
This method is called automatically as the preference page is being created
and initialized. Clients must not call this method.
- Specified by:
init
in interface IWorkbenchPreferencePage
- Following copied from interface:
org.eclipse.ui.IWorkbenchPreferencePage
- Parameters:
workbench
- the workbench
initDefaults
public static void initDefaults(IPreferenceStore store)
- Deprecated.
- Initialzes the defaults for the given store.
- Parameters:
store
- the preference store- Since:
- 2.0
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.