diff -r 2c1a7d3f4ab4 -r 24ac5a5cf80c carbidesdk/com.nokia.carbide.cpp.sdk.doc.user/html/tasks/CarbideExtensionPreferences.htm --- a/carbidesdk/com.nokia.carbide.cpp.sdk.doc.user/html/tasks/CarbideExtensionPreferences.htm Tue Jul 27 15:20:28 2010 -0500 +++ b/carbidesdk/com.nokia.carbide.cpp.sdk.doc.user/html/tasks/CarbideExtensionPreferences.htm Tue Jul 27 15:28:19 2010 -0500 @@ -1,39 +1,39 @@ - - - - - - Adding items to the Carbide menu - - - - - - -

Adding global preferences to the Carbide Extensions group

- -

If you are creating a plug-in specifically for use with Carbide.c++ and it requires a global preferences page, we recommend that you add your preference page(s) under the Carbide Extensions group. -

-

Following this guideline reduces the likelihood of preference page clutter for uses with multiple Carbide extension plug-ins. -It also provides users with a consistent place to look for Carbide.c++ global preferences. -

-

The Carbide Extensions group is defined in the com.nokia.carbide.cpp plugin.xml and such: -

- -
	<extension
point="org.eclipse.ui.preferencePages">
<page
name="Carbide Extensions"
class="com.nokia.carbide.cpp.preferences.ExtensionsPreferencesPage"
id="com.nokia.carbide.cpp.preferences.ExtensionsPreferencesPage"/>
</extension>
- -

Now your plug-in just needs to define the category where your new preference page is to reside. Take for example, the leavescan plug-in preferences:

-
	<extension
point="org.eclipse.ui.preferencePages">
<page
name="Leavescan Preferences"
class="com.nokia.carbide.cpp.leavescan.ui.LeavescanPreferences"
category="com.nokia.carbide.cpp.preferences.ExtensionsPreferencesPage"
id="com.nokia.carbide.cpp.leavescan.ui.LeavescanPreferences">
</page>
</extension>
- - + + + + + + Adding items to the Carbide menu + + + + + + +

Adding global preferences to the Carbide Extensions group

+ +

If you are creating a plug-in specifically for use with Carbide.c++ and it requires a global preferences page, we recommend that you add your preference page(s) under the Carbide Extensions group. +

+

Following this guideline reduces the likelihood of preference page clutter for uses with multiple Carbide extension plug-ins. +It also provides users with a consistent place to look for Carbide.c++ global preferences. +

+

The Carbide Extensions group is defined in the com.nokia.carbide.cpp plugin.xml and such: +

+ +
	<extension
point="org.eclipse.ui.preferencePages">
<page
name="Carbide Extensions"
class="com.nokia.carbide.cpp.preferences.ExtensionsPreferencesPage"
id="com.nokia.carbide.cpp.preferences.ExtensionsPreferencesPage"/>
</extension>
+ +

Now your plug-in just needs to define the category where your new preference page is to reside. Take for example, the leavescan plug-in preferences:

+
	<extension
point="org.eclipse.ui.preferencePages">
<page
name="Leavescan Preferences"
class="com.nokia.carbide.cpp.leavescan.ui.LeavescanPreferences"
category="com.nokia.carbide.cpp.preferences.ExtensionsPreferencesPage"
id="com.nokia.carbide.cpp.leavescan.ui.LeavescanPreferences">
</page>
</extension>
+ + \ No newline at end of file