Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Help Preferences(How to 'remove' them from the preferences page?)
Help Preferences [message #489301] Fri, 02 October 2009 06:08 Go to next message
Eclipse UserFriend
I have a small RCP application that includes also a help plugin based on the Eclipse Help System. Also my application has a preference dialog similar with the eclipse one but with very few preference pages.

My 'problem' is that the help preferences pages are also displayed in my preferences dialog beside my own preference pages.

Is there a way to prevent the help preference pages not to be displayed in my preference dialog? And secondly why the help preferences are displayed, because I do not have any code that invoke them? Do I have to create the PreferenceStore in a particular way in order to have only my own preference pages displayed?

Catalin
Re: Help Preferences [message #497795 is a reply to message #489301] Fri, 13 November 2009 07:36 Go to previous message
Eclipse UserFriend
Found a workaround:

PreferenceManager crtManager = PlatformUI.getWorkbench()
.getPreferenceManager();
List aList = crtManager.getElements(PreferenceManager.PRE_ORDER);
Iterator it = aList.iterator();
while (it.hasNext()) {
IPreferenceNode aNode = (IPreferenceNode) it.next();
if (aNode.getId().contains("org.eclipse.help.ui")) {
crtManager.remove(aNode);
}
}

But I still do not know why the preferences are displayed in the first place.

Does any one have a clue about this or to guide me to additional places where to look for more details?
Previous Topic:Common Navigator Extensions
Next Topic:org.eclipse.ui.menus own contributions
Goto Forum:
  


Current Time: Wed Jul 23 08:36:01 EDT 2025

Powered by FUDForum. Page generated in 0.05320 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top