Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » How to reuse standard command in Application.e4xmi?
How to reuse standard command in Application.e4xmi? [message #1130169] Wed, 09 October 2013 05:25 Go to next message
wei zhang is currently offline wei zhang
Messages: 4
Registered: October 2013
Location: Shanghai, China
Junior Member
Hi, I want use eclipse standard command based on eclipse4 in my RCP application, but I can't find standard command in application.e4xmi, how to reuse?
Re: How to reuse standard command in Application.e4xmi? [message #1130237 is a reply to message #1130169] Wed, 09 October 2013 06:49 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk Fauth
Messages: 1263
Registered: July 2012
Senior Member
AFAIK there are not "standard commands" in Eclipse 4. What do you mean exactly?
Re: How to reuse standard command in Application.e4xmi? [message #1130833 is a reply to message #1130237] Wed, 09 October 2013 20:44 Go to previous messageGo to next message
wei zhang is currently offline wei zhang
Messages: 4
Registered: October 2013
Location: Shanghai, China
Junior Member
I learned some examples of RCP development, vogella.com-articles/EclipsePreferences/article.html, the article practice how to use eclipse preference, "To display the preference page you can use the standard Eclipse command org.eclipse.ui.window.preferences. Add this to your menu. It will show the preference dialog", Your means we can't use standard eclipse command in eclipse 4, we just create customizable command for this function in eclipse 4.
Re: How to reuse standard command in Application.e4xmi? [message #1131068 is a reply to message #1130833] Thu, 10 October 2013 02:46 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk Fauth
Messages: 1263
Registered: July 2012
Senior Member
The section you are referencing is headlined with "Preference handling in Eclipse 3.x". So yes, this is different to Eclipse 4.

In Eclipse 4 there is no such standard command, and there is no such dialog. At least in plain Eclipse 4. If you implement a plugin for the Eclipse IDE you need to operate on the compatibility layer. But AFAIK then you need to implement your stuff still Eclipse 3.x based as it is not possible to mix Eclipse 3.x and Eclipse 4 development.
Re: How to reuse standard command in Application.e4xmi? [message #1131332 is a reply to message #1131068] Thu, 10 October 2013 08:26 Go to previous message
wei zhang is currently offline wei zhang
Messages: 4
Registered: October 2013
Location: Shanghai, China
Junior Member
OK, And I know now, Thanks!
Previous Topic:"Select All" behaviour in Variables view
Next Topic:Xml GUI is very slow in juno
Goto Forum:
  


Current Time: Fri Aug 29 18:39:59 EDT 2014

Powered by FUDForum. Page generated in 0.01854 seconds