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

How to progaramatically extend the context menus of a project / team area in the RTC "Team Organization" View

I want to create a plugin which "copies" all users and their roles from a project / team area to another project / team area.
The idea is to add a menu item (for example, "Copy users and their roles") in the popup menu of a project / team area in the RTC "Team Organization" view and then select a the destination project / team area in the "Team Organization" view and press on a custom menu item (for example, "Paste users and their roles") of the popup menu there.

As a result all users and their roles  from the source project / team area to be assigned to the destination project / team area.

The RTC version is 6.0.6.

Is that possible and can you provide me a hint how to do it?

I have gone through the article "Adding Context Menus for Jazz Objects to the RTC Eclipse Client", but I am not able to get the project / team area tree item class using YARI as it looks like the class is internal.

I've also read about domain extension mechanisms but I am not sure how to apply it.

0 votes



One answer

Permanent link

 See https://rsjazz.wordpress.com/2014/02/21/adding-context-menus-for-jazz-objects-to-the-rtc-eclipse-client/ 


This is basically an Eclipse Extension question and you should search Eclipse.org for this kind of content.

0 votes

Comments
I've gone through this example and tested it.
However when I tried to apply the same approach for a team/project area tree item in the "Team Organization" view and get their class with YARI, their class is something like class com.sun.proxy.$Proxy43.

One other question: How can assign a user with a role to team area programmatically?
Is there an straightforward example?

Thanks a lot for your help!

Try using Plugin Spy SHIFT+ALT+F1. 


The plain java client library snippets (included in the download) have an example. https://rsjazz.wordpress.com/2013/09/18/deploying-templates-and-creating-projects-using-the-plain-java-clients-library/ also.

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,938

Question asked: Feb 07 '19, 3:52 a.m.

Question was seen: 1,820 times

Last updated: Feb 08 '19, 4:32 a.m.

Confirmation Cancel Confirm