Class TextEditorPreferencePage

    • Constructor Detail

      • TextEditorPreferencePage

        public TextEditorPreferencePage()
        Deprecated.
        Creates and returns the text editor preference page.
    • Method Detail

      • createControl

        public void createControl​(Composite parent)
        Deprecated.
        Description copied from class: PreferencePage
        The PreferencePage implementation of this IDialogPage method creates a description label and button bar for the page. It calls createContents to create the custom contents of the page.

        If a subclass that overrides this method creates a Composite that has a layout with default margins (for example, a GridLayout) it is expected to set the margins of this Layout to 0 pixels.

        Specified by:
        createControl in interface IDialogPage
        Overrides:
        createControl in class PreferencePage
        Parameters:
        parent - the parent composite
        See Also:
        IDialogPage.createControl(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

        Specified by:
        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
        Parameters:
        workbench - the workbench
      • initDefaults

        public static void initDefaults​(IPreferenceStore store)
        Deprecated.
        Initializes the defaults for the given store.
        Parameters:
        store - the preference store
        Since:
        2.0