|Editor menu contribution [message #1005907]
||Tue, 29 January 2013 09:30
| Jan Krakora
Registered: December 2009
what is the recommended way to contribute editor menu?
When I read the Eclipse help, there is an example of contributing menu using contributorClass. It's about actions a even retarget actions.
In addition there is a text:
To understand how editors register themselves with the workbench and provide actions for the workbench menu bar,
see the section discussing org.eclipse.ui.editors. We won't rehash that information here.
where is nothing about contributorClass and even about actions, you have to use commands to contribute menus for editor they say.
Besides, in the Eclipse help is nothing about actions and retarget actions any more, since they are deprecated AFAIK.
I'm confused. What is the proper way of contributing menu for an editor? Why isn't the contributorClass deprecated?
Powered by FUDForum
. Page generated in 0.01698 seconds