diff -r 000000000000 -r fb279309251b carbidesdk/com.nokia.carbide.cpp.sdk.doc.user/html/tasks/CarbideExtensionPreferences.htm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/carbidesdk/com.nokia.carbide.cpp.sdk.doc.user/html/tasks/CarbideExtensionPreferences.htm Fri Apr 03 23:33:03 2009 +0100 @@ -0,0 +1,39 @@ + + + +
+ +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+ + + \ No newline at end of file
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>