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

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

0 votes



One answer

Permanent link
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.

0 votes

Comments

Thank you Ralph. I had written my first plugin (for Work Items) using your excellent examples :-)

I know what the plugin will do and how to implement that. I want to trigger my plugin against the "Work Item Query" object that I have created/defined in RTC. But I don't know which objectclass I should use while writing the plugin so that the new action becomes active when I right click on a query.

Thanks

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

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 12 '15, 10:53 p.m.

Question was seen: 2,781 times

Last updated: Feb 14 '15, 5:04 p.m.

Confirmation Cancel Confirm