Menu contribution confusion [message #892972] |
Mon, 02 July 2012 04:05  |
Eclipse User |
|
|
|
Hi,
I've been trying to create a plugin that enables the user to perform an operation on a selection of files.
For that, I think I need to add a menu contribution, a handler and a command. The menu contribution should add an entry to the top level popup menu. In fact, I would like to have two entries (associated with their commands, resp. handlers) being part of a submenu in the popup menu.
However I'm getting confused on how to embody this in the plugin.xml.
1) How should I structure the menuContribution in order to get the requested structure:
Walb tools
+-------- Operation 1
+-------- Operation 2
2) How can I retrieve the set of selected items when an operation is requested.
Any suggestions?
Greetings,
Wilbert.
|
|
|
|
Powered by
FUDForum. Page generated in 0.06730 seconds