Class TextEditorPreferencePage
- All Implemented Interfaces:
EventListener,IDialogPage,IMessageProvider,IPreferencePage,IPropertyChangeListener,IWorkbenchPreferencePage
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.
-
Field Summary
Fields inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage
FLAT, GRID, MARGIN_HEIGHT, MARGIN_WIDTH, VERTICAL_SPACINGFields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates and returns the text editor preference page. -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateControl(Composite parent) Deprecated.ThePreferencePageimplementation of thisIDialogPagemethod creates a description label and button bar for the page.voidDeprecated.Creates the page's field editors.voidinit(IWorkbench workbench) Deprecated.Initializes this preference page for the given workbench.static voidinitDefaults(IPreferenceStore store) Deprecated.Initializes 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, setVisibleMethods inherited from class org.eclipse.jface.preference.PreferencePage
applyData, applyDialogFont, computeSize, contributeButtons, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, noDefaultButton, okToLeave, performApply, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButtonMethods 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, setMessageMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisibleMethods inherited from interface org.eclipse.jface.preference.IPreferencePage
computeSize, isValid, okToLeave, performCancel, performOk, setContainer, setSize
-
Constructor Details
-
TextEditorPreferencePage
public TextEditorPreferencePage()Deprecated.Creates and returns the text editor preference page.
-
-
Method Details
-
createControl
Deprecated.Description copied from class:PreferencePageThePreferencePageimplementation of thisIDialogPagemethod creates a description label and button bar for the page. It callscreateContentsto create the custom contents of the page.If a subclass that overrides this method creates a
Compositethat has a layout with default margins (for example, aGridLayout) it is expected to set the margins of thisLayoutto 0 pixels.- Specified by:
createControlin interfaceIDialogPage- Overrides:
createControlin classPreferencePage- Parameters:
parent- the parent composite- See Also:
-
createFieldEditors
public void createFieldEditors()Deprecated.Description copied from class:FieldEditorPreferencePageCreates 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
getFieldEditorParentto 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- Specified by:
createFieldEditorsin classFieldEditorPreferencePage
-
init
Deprecated.Description copied from interface:IWorkbenchPreferencePageInitializes 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:
initin interfaceIWorkbenchPreferencePage- Parameters:
workbench- the workbench
-
initDefaults
Deprecated.Initializes the defaults for the given store.- Parameters:
store- the preference store- Since:
- 2.0
-