How to add one menu item when right click "Work Items" in "Team Artifacts" View
qingan wang (3●1●2)
| asked Feb 20 '14, 3:58 a.m.
edited Feb 20 '14, 5:17 a.m. by Ralph Schoon (63.5k●3●36●46)
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 "com.ibm.team.workitem.*", and looked for extentions "org.eclipse.ui.popupMenus", but haven't found.
Anyone got some ideas?
|
Accepted answer
Ralph Schoon (63.5k●3●36●46)
| answered Feb 20 '14, 5:29 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Feb 20 '14, 5:29 a.m.
It is fairly easy to find the plugins extending org.eclipse.ui.popupMenus.
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
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.