Dynamic menu contributions [message #908970] |
Thu, 06 September 2012 06:19  |
Eclipse User |
|
|
|
I want to realize a dynamic menu contribution to the menu of a handler located in a view toolbar. In Eclipse 3 it was possible to add "dynamic" as org.eclipse.ui.menus contribution to a Menu!
I already found out about www.vogella.com/blog/2010/10/26/processors-e4-model explaining on how to dynamically contribute to menus by means of processor model extensions.
But to set it into specific questions:
- Why is it not possible to use the dynamic contribution element in the e4 tooling on an element of MMenu as it was possible to contribute in Eclipse 3.x, where you had to implement a class that extends org.eclipse.jface.action.ContributionItem?
- Am I required to contribute such elements by means of processor contributions or
- is support for it only not yet implemented!
- What is the purpose of MMenuContribution, as it's not possible to execute something like MMenu.getChildren().add(MMenuContribution).
Thanks a lot for your comments!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 1.29238 seconds