Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

 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?

0 votes


Accepted answer

Permanent link
It is fairly easy to find the plugins extending org.eclipse.ui.popupMenus.
  1. Setup your SDK as described in https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/
  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

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,943

Question asked: Feb 20 '14, 3:58 a.m.

Question was seen: 4,253 times

Last updated: Apr 04 '14, 3:21 a.m.

Confirmation Cancel Confirm