wiki:AddingPreferenceHierarchy

Eclipse Help Page shows how we can add a hierarchy to Preference Page in editor.

The following is an example for the preference extension point:

   <extension 
       point="org.eclipse.ui.preferencePages"> 
      <page 
         id="com.xyz.prefpage1" 
         name="XYZ" 
         class="com.xyz.prefpages.PrefPage1"> 
         <keywordReference id="xyz.Keyword"/>
      </page> 
      <page 
         id="com.xyz.prefpage2" 
         name="Keyboard Settings" 
         class="com.xyz.prefpages.PrefPage2" 
         category="com.xyz.prefpage1"> 
      </page> 
   </extension> 

This creates a child preference "Keyboard Settings" for preference"XYZ"

Last modified 7 years ago Last modified on 03/16/2015 11:41:54 PM