Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "FAQ How do I create my own preference page?"

 
m
 
(One intermediate revision by the same user not shown)
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 &gt; 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 &gt; 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?]]
[[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 &#147;Preferences in the Eclipse Workbench UI (Revised for 2.0)&#148;]
 
+
*[http://www.eclipse.org/articles/Article-Mutatis-mutandis/overlay-pages.html Eclipse online article &#147;Mutatis Mutandis&#151;Using Preference Pages as Property Pages&#148;]
Implementing a preference page (See '''Platform Plug-in Developer's Guide''')
+
*[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 &#147;Preferences in the Eclipse Workbench UI (Revised for 2.0)&#148;
+
 
+
Simplifying Preference Pages with Field Editors,
+
Eclipse online article &#147;Mutatis Mutandis&#151;Using Preference Pages as Property Pages&#148;
+
  
 
<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>

Latest 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:


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.

Back to the top