Declarative menu entry for help system [message #494703] |
Mon, 02 November 2009 04:33  |
Eclipse User |
|
|
|
I have a problem defining a declarative entry in the menu for "Help Contents" in my own RCP application. When I define the menu entry and start the RCP application the entry is grayed out although all needed packages are defined. In plugin.xml this looks like:
<menu
id="de.genesys_e.experience.ui.menu.help"
label="%helpMenu.label"
tooltip="%helpMenu.toolTip">
<command
commandId="org.eclipse.ui.help.helpContents"
label="%helpContents.label"
style="push"
tooltip="%helpContents.toolTip">
</command>
[...]
</menu>
When I define additionally a command for "Help Contents" using the Default Handler "org.eclipse.ui.internal.handlers.DisplayHelpHandler" i can call the help menu:
<command
defaultHandler="org.eclipse.ui.internal.handlers.DisplayHelpHandler "
id="org.eclipse.ui.help.helpContents"
name="Help Contents">
</command>
But Eclipse tells me, that the access to the referenced class is discouraged.
So, what is wrong?
Björn
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06258 seconds