Help Preferences [message #489301] |
Fri, 02 October 2009 10:08 |
|
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 |
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.01810 seconds