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 (62.3k●3●36●43)
| 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 Thank you Ralph. I had written my first plugin (for Work Items) using your excellent examples :-)
![]() 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.
|