Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "FAQ How do I create my own preference page?"
m |
|||
Line 1: | Line 1: | ||
− | JFace provides infrastructure for creating and presenting preference pages | + | JFace provides infrastructure for creating and presenting preference pages within a Preference dialog. Pages implement <tt>IPreferencePage</tt>, usually by subclassing the default implementation <tt>PreferencePage</tt> or <tt>FieldEditorPreferencePage</tt>. The <tt>org.eclipse.ui.workbench</tt> plug-in defines an extension point for contributing preference pages to the workbench preference dialog, typically available via '''Window > Preferences'''. Note that you can use the preference page infrastructure without even using the preferences extension point if you want to present preference pages outside the standard workbench Preference dialog. |
− | within a Preference dialog. Pages implement <tt>IPreferencePage</tt>, | + | |
− | usually by subclassing the default implementation <tt>PreferencePage</tt> or <tt>FieldEditorPreferencePage</tt>. | + | |
− | The <tt>org.eclipse.ui.workbench</tt> plug-in defines | + | |
− | an extension point for contributing preference pages to the workbench | + | |
− | preference dialog, typically available via '''Window > Preferences'''. | + | |
− | Note that you can use the preference page infrastructure without even | + | |
− | using the | + | |
− | + | ||
− | preferences extension point if you want to present preference | + | |
− | pages outside the standard workbench Preference dialog. | + | |
− | + | ||
== See Also: == | == See Also: == | ||
− | + | *[[FAQ_How_do_I_launch_the_preference_page_that_belongs_to_my_plug-in%3F]] | |
− | [[FAQ_How_do_I_launch_the_preference_page_that_belongs_to_my_plug-in%3F]] | + | *[http://www.eclipse.org/articles/Article-Preferences/preferences.htm Eclipse online article “Preferences in the Eclipse Workbench UI (Revised for 2.0)”] |
− | + | *[http://www.eclipse.org/articles/Article-Mutatis-mutandis/overlay-pages.html Eclipse online article “Mutatis Mutandis—Using Preference Pages as Property Pages”] | |
− | + | *[http://www.eclipse.org/articles/Article-Field-Editors/field_editors.html Simplifying Preference Pages with Field Editors] | |
− | + | *[http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/preferences_prefs_implement.htm Implementing a preference page (Platform Plug-in Developer's Guide)] | |
− | Eclipse online article “Preferences in the Eclipse Workbench UI (Revised for 2.0)” | + | |
− | + | ||
− | + | ||
− | Eclipse online article “Mutatis Mutandis—Using Preference Pages as Property Pages” | + | |
<hr><font size=-2>This FAQ was originally published in [http://www.eclipsefaq.org Official Eclipse 3.0 FAQs]. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the [http://www.eclipse.org/legal/epl-v10.html Eclipse Public License v1.0].</font> | <hr><font size=-2>This FAQ was originally published in [http://www.eclipsefaq.org Official Eclipse 3.0 FAQs]. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the [http://www.eclipse.org/legal/epl-v10.html Eclipse Public License v1.0].</font> |
Revision as of 22:42, 29 May 2006
JFace provides infrastructure for creating and presenting preference pages within a Preference dialog. Pages implement IPreferencePage, usually by subclassing the default implementation PreferencePage or FieldEditorPreferencePage. The org.eclipse.ui.workbench plug-in defines an extension point for contributing preference pages to the workbench preference dialog, typically available via Window > Preferences. Note that you can use the preference page infrastructure without even using the preferences extension point if you want to present preference pages outside the standard workbench Preference dialog.
See Also:
- FAQ_How_do_I_launch_the_preference_page_that_belongs_to_my_plug-in?
- Eclipse online article “Preferences in the Eclipse Workbench UI (Revised for 2.0)”
- Eclipse online article “Mutatis Mutandis—Using Preference Pages as Property Pages”
- Simplifying Preference Pages with Field Editors
- Implementing a preference page (Platform Plug-in Developer's Guide)
This FAQ was originally published in Official Eclipse 3.0 FAQs. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the Eclipse Public License v1.0.