OpenCheatSheetHandler [message #532073] |
Fri, 07 May 2010 01:07  |
Eclipse User |
|
|
|
Hi,
I've tried to add a cheatsheet into my application. This cheatsheet is been referenced directly by the help menu.
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="menu:org.eclipse.ui.main.menu?after=additions">
<menu
id="mymenu.help"
label="%Menu.Help">
<menu
label="%Menu.Help.CheatSheet">
<command
commandId="org.eclipse.ui.cheatsheets.openCheatSheet"
label="%cheatsheet.firststeps">
<parameter
name="cheatSheetId"
value="cheatsheet.firststeps">
</parameter>
</command>
</menu>
</menu>
</menuContribution>
</extension>
But when I click on this menu-item in the application I got a NoClassDefFoundError.
java.lang.NoClassDefFoundError: org/eclipse/help/ui/internal/views/HelpTray
at org.eclipse.ui.internal.cheatsheets.handlers.OpenCheatSheetHandler.execute(OpenCheatSheetHandler.java:37)
BTW I've included org.eclipse.help, org.eclipse.help.base, org.eclipse.help.ui for that in my feature.
Any ideas what the problem could be?
Thanks, Luigi
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.41591 seconds