Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Help Preferences(How to 'remove' them from the preferences page?)
Help Preferences [message #489301] Fri, 02 October 2009 10:08 Go to next message
Catalin Gerea is currently offline Catalin GereaFriend
Messages: 89
Registered: July 2009
Location: Bucharest, Romania
Member

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


Time is what you make of it.
Re: Help Preferences [message #497795 is a reply to message #489301] Fri, 13 November 2009 12:36 Go to previous message
Catalin Gerea is currently offline Catalin GereaFriend
Messages: 89
Registered: July 2009
Location: Bucharest, Romania
Member

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?


Time is what you make of it.
Previous Topic:Common Navigator Extensions
Next Topic:org.eclipse.ui.menus own contributions
Goto Forum:
  


Current Time: Tue Mar 19 02:21:19 GMT 2024

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

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

Back to the top