Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Using 3.x commands
Using 3.x commands [message #1016146] Tue, 05 March 2013 04:14 Go to next message
Bastian Wagenfeld is currently offline Bastian Wagenfeld
Messages: 161
Registered: January 2013
Senior Member
Hi,

I'm developing an Eclipse RCP that is started as an Eclipse 3 application that includes an e4 Application.e4xmi. This works quite well. Now I want to open the help contents. As a guideline I used this: http://www.vogella.com/articles/EclipseRCPHelpSystem/article.html . This article is of course a pure Eclipse 3.x tutorial and uses commands to open the help contents. When I looked at Juno's Application model I saw the "Help Contents" command with org.eclipse.ui.help.helpContents. In the Application model is no handler that is connected to this command. So my question is: How can I use these "old" Eclipse 3 commands in the Application.e4xmi like they are used in the Eclipse 4.2 IDE? Using this command with this ID in my own Application.e4xmi (without a handler) doesn't work and causes a NullPointerException.
Maybe someone made similar experiences or knows tutorials for that?

Best regards
Bastian
Re: Using 3.x commands [message #1022086 is a reply to message #1016146] Thu, 21 March 2013 05:01 Go to previous message
Wim Jongman is currently offline Wim Jongman
Messages: 418
Registered: July 2009
Senior Member
Hi Bastian,

This is a good question. If everyone stays quiet it is probably because we
don't know the answer ;)

You could try to find out how the help system is activated in 3x and
implement the same in e4. You should also file a bug with your original
context against e4/UI.

Regards

Wim

> Hi,
>
> I'm developing an Eclipse RCP that is started as an Eclipse 3 application
that includes an e4 Application.e4xmi. This works quite well. Now I want to
open the help contents. As a guideline I used this:
http://www.vogella.com/articles/EclipseRCPHelpSystem/article.html . This
article is of course a pure Eclipse 3.x tutorial and uses commands to open
the help contents. When I looked at Juno's Application model I saw the "Help
Contents" command with org.eclipse.ui.help.helpContents. In the Application
model is no handler that is connected to this command. So my question is: How
can I use these "old" Eclipse 3 commands in the Application.e4xmi like they
are used in the Eclipse 4.2 IDE? Using this command with this ID in my own
Application.e4xmi (without a handler) doesn't work and causes a
NullPointerException.
> Maybe someone made similar experiences or knows tutorials for that?
>
> Best regards
> Bastian
Previous Topic:How to start up a editor only at the first time Eclipse start up
Next Topic:Error after creating the Handler in Application.e4xmi
Goto Forum:
  


Current Time: Thu Jul 24 19:15:19 EDT 2014

Powered by FUDForum. Page generated in 0.01688 seconds