Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » OpenCheatSheetHandler
OpenCheatSheetHandler [message #532073] Fri, 07 May 2010 05:07 Go to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: May 2010
Junior Member
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

Re: OpenCheatSheetHandler [message #856217 is a reply to message #532073] Wed, 25 April 2012 13:29 Go to previous messageGo to next message
ju seb is currently offline ju sebFriend
Messages: 4
Registered: April 2012
Junior Member
Bonjour,
je me retrouve aujourd'hui avec exactement la même erreur, dans le même contexte de création de cheatsheets...
aurais-tu finalement trouvé une solution? Je ne trouve pas grand chose ailleurs...
Merci
Re: OpenCheatSheetHandler [message #857363 is a reply to message #856217] Thu, 26 April 2012 13:30 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You need to check the error log of your app. HelpTray is in o.e.help.ui but that bundle might not have started correctly.

PW


Previous Topic:SaveAll Command
Next Topic:Eclipse throwing error and crashing after the splash screen
Goto Forum:
  


Current Time: Sun Nov 23 13:47:33 GMT 2014

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

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