|Project context menu [message #875451]
||Tue, 22 May 2012 15:22
| Edwin Park
Registered: July 2009
I'm trying to figure out how to:
1. contribute a menu item command in the right-click context menu of a project in the Project Explorer view.
2. get access to the selected IProject in the command handler
I currently have a top-level menu/command/handler contributed via a fragment.e4xmi that uses the ESelectionService to determine if the selection holds an IProject. This is fine, but given that the command is really only related to a project, I'd like to be able to let the user right-click on the project itself and select the command from the project's context menu.
Any pointers/help is greatly appreciated!
Powered by FUDForum
. Page generated in 0.02395 seconds