Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Editor menu contribution
Editor menu contribution [message #1005907] Tue, 29 January 2013 09:30
Jan Krakora is currently offline Jan Krakora
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
Hi,

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:

Quote:
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?
Previous Topic:How run javaScript form eclipse in commondline
Next Topic:what's the mean of class parameter in handle
Goto Forum:
  


Current Time: Fri Oct 31 10:12:49 GMT 2014

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

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