It's all about the answers!

Ask a question

How to add one menu item when right click "Work Items" in "Team Artifacts" View

qingan wang (312) | asked Feb 20 '14, 3:58 a.m.
edited Feb 20 '14, 5:17 a.m. by Ralph Schoon (62.9k33645)
 Hi all, out team has new requirement, that needs to add a menu item when right click Work Items  in "Team Artifacts" View.

I have searched all the plugins in RTC which package like "*", and looked for extentions "org.eclipse.ui.popupMenus", but haven't found.

Anyone got some ideas?

Accepted answer

permanent link
Ralph Schoon (62.9k33645) | answered Feb 20 '14, 5:29 a.m.
edited Feb 20 '14, 5:29 a.m.
It is fairly easy to find the plugins extending org.eclipse.ui.popupMenus.
  1. Setup your SDK as described in
  2. Create you own plugin with the extension point.
  3. In the plugin Editor right click that extension point and select "Find references"

You will find several RTC plugins extending it.

However, the easiest way to create your own menu extension is to create an object contribution. In order to do so, you have to find out which object is exposed in the menu.

Try using Plugin Spy (Shift-Alt-F1) or YARI to find out what object is exposed. 

qingan wang selected this answer as the correct answer

Your answer

Register or to post your answer.