Plugin ObjectClass for "Work Item Query"
Hi,
I want to write a popupMenus plugin for the queries I have defined in RTC and would like to know which class/interface I should use as ObjectClass. For example, for a "Work Item" I use: <objectContribution objectClass="com.ibm.team.workitem.common.model.IWorkItemHandle" id="myId"> Thanks |
One answer
Ralph Schoon (63.5k●3●36●46)
| answered Feb 13 '15, 5:11 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Have you looked into https://rsjazz.wordpress.com/2014/02/21/adding-context-menus-for-jazz-objects-to-the-rtc-eclipse-client/ and tried the approaches described there?
What should the menu do and what object should it trigger for are the questions you have to answer yourself to be able to identify the class you are looking for. This is by the way more an Eclipse extension question and not really specific to RTC. The RTC specific part would only be what to do with the selection. Comments
Ranjan Kumar
commented Feb 13 '15, 11:12 a.m.
Thank you Ralph. I had written my first plugin (for Work Items) using your excellent examples :-)
Ralph Schoon
commented Feb 14 '15, 5:03 p.m.
| edited Feb 14 '15, 5:04 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I would suggest to read above post and try to use Yari and Plugin Spy as suggested to find out the class you need to trigger for. Unless someone else has the same requirement (which I am still not sure what it is) you won't likely get an answer here.
|
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.