|Menu contribution confusion [message #892972]
||Mon, 02 July 2012 04:05
| Wilbert Alberts
Registered: June 2010
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:
+-------- Operation 1
+-------- Operation 2
2) How can I retrieve the set of selected items when an operation is requested.
Powered by FUDForum
. Page generated in 0.01447 seconds