|
Re: Substitute for action sets [message #918852 is a reply to message #918646] |
Fri, 21 September 2012 12:06 |
|
Daniel-
Glad to hear you are looking to adopt e4! You are correct that after 3.8 there aren't any planned releases of the 3.x architecture. However, backwards compatibility is and will remain a requirement in 4.x. The core e4 tooling will not support 3.x but the compatibility layer will take care of that.
As for the perspectiveExtensions, I believe you are referring to the "actions" in the tool bar for the view. This is something you are able to accomplish with either commands or command contributions. Take a look at [1] for how to accomplish this.
As far as recommendations go, I would focus on moving any existing actionSets to commands and be realistic about when/where you use perspectiveExtensions. Unless you are contributing to a third party perspective, I would avoid use of perspective extensions.
Take care,
JD
[1] http://www.vogella.com/articles/EclipseCommands/article.html#menus_extensionpoint
|
|
|
|
Re: Substitute for action sets [message #918905 is a reply to message #918873] |
Fri, 21 September 2012 13:15 |
|
In 3.x take a look at the extension point:
org.eclipse.ui.menus
When defining menuContributions they represent "ordered set[s] of contributions". While this would not necessarily address the issue of global reuse directly, there are ways you would be able to accomplish that.
In 4.x take a look at Toolbar/MenuContributions. They represent the type of reusable sets I believe you are looking for.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03780 seconds