Skip to main content


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 09:25 Go to next message
wei zhang is currently offline wei zhangFriend
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 10:49 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
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] Thu, 10 October 2013 00:44 Go to previous messageGo to next message
wei zhang is currently offline wei zhangFriend
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 06:46 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
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 12:26 Go to previous message
wei zhang is currently offline wei zhangFriend
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: Tue Apr 16 13:57:46 GMT 2024

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

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

Back to the top