Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I was looking for the same thing and found the solution in this link:</p> <p><a href="http://sourceforge.net/apps/trac/fable/wiki/Preferences" rel="noreferrer">http://sourceforge.net/apps/trac/fable/wiki/Preferences</a></p> <p>Cheers. Stefan</p> <hr> <p><h1>Disable help preferences</h1> ¶</p> <p>Put the following code into your subclass of <code>org.eclipse.ui.application.WorkbenchAdvisor</code>, and it removes the "Help" group from RCP preference dialog:</p> <pre><code>public void postStartup() { PreferenceManager pm = PlatformUI.getWorkbench().getPreferenceManager( ); pm.remove( "org.eclipse.help.ui.browsersPreferencePage" ); } </code></pre> <p>"<code>org.eclipse.help.ui.browsersPreferencePage</code>" is the ID for the preferences extension point.<br> Add Perspective preferences ¶</p> <p>Remark : to find plugin id preferences, select <code>Window--&gt;show view--&gt; PDE Runtime--&gt; Plugin Registry</code> ..... and try to find what you are looking for .....<br> For example, for "<code>Workbench preferences</code>", have a look in <code>fable.eclipse.ui.ide</code> and extension <code>org.eclipse.ui.preferencePages</code>: <code>id="org.eclipse.ui.preferencePages.Workbench"</code></p> <p>If you want to add only perspective (for example) preferences, add a preference extension in <code>MANIFEST.XML</code> :</p> <pre><code>id : org.eclipse.ui.preferencePages.Perspectives name:perspective(fable) class:org.eclipse.ui.internal.ide.dialogs.IDEPerspectivesPreferencePage //Add : org.eclipse.ui.ide in your Dependencies </code></pre> <p>In ApplicationWorkBenchAdvisor :</p> <pre><code>public void postStartup() { PreferenceManager pm = PlatformUI.getWorkbench().getPreferenceManager( ); pm.remove( ""org.eclipse.ui.preferencePages.Workbench"browsersPreferencePage" ); } public String getInitialWindowPerspectiveId() { IPreferenceStore pref = Activator.getDefault().getPreferenceStore(); String ret = pref.getDefaultString(IWorkbenchPreferenceConstants.DEFAULT_PERSPECTIVE_ID); ret=(ret==null || ret.equals(""))?"yourDefaultPerspectiveID":ret; return ret; }// </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload