It's all about the answers!

Ask a question

client side plugin workshop


Yehiel Glass (25528786) | asked Oct 02 '12, 2:57 p.m.
Hi,
I want to write a client plugin but can't find any clear detailed guide for doing it.
On the Server side plugin,  I used the extenssion workshop.
Where can I find a workshop for deploying client plugin (like a new button that check compilation before deliver) ?
Thanks,
Yehiel 

3 answers



permanent link
Ralph Schoon (59.0k23642) | answered Oct 08 '12, 10:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Yehiel,

there is a client side plug-in part in the Extensions workshop - the aspect editor is an Eclipse client plug-in. This should be enough to get you going. There are other topics covered in the Wiki, so you might be able to find something there. https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation has something as well as the SDK documentation for the various versions e.g. https://jazz.net/wiki/bin/view/Main/RtcSdk30


There are many books and there is a lot of online content about Extending Eclipse. If you want to find out how to create context menu extensions, wizards and the like I would start searching on www.eclipse.org.



Comments
Yehiel Glass commented Oct 12 '12, 10:00 a.m.

Hi,


I saw a good guide on https://jazz.net/library/article/118 but how can I have a list of objectClass like this: objectClass="com.ibm.team.repository.client.ITeamRepository"? 
I have another question: I want to enter a script that will check the bin directory before deliver action. Is it possible to enter my code under the deliver action in the eclipse (with client plugin) ?

Thanks,
Yehiel


permanent link
c jiang (1113) | answered Mar 05 '13, 3:26 a.m.

get ITeamRepository through:


ProcessArea processArea = operation.getProcessArea();
IProjectArea projectArea = (IProjectArea) processArea; 
ITeamRepository repo = (ITeamRepository) projectArea.getOrigin();


permanent link
Ralph Schoon (59.0k23642) | answered Mar 05 '13, 3:42 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Mar 05 '13, 4:01 a.m.
Yihel,

please see these posts:

http://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/
https://jazz.net/library/article/1229
http://www.joshuabambrick.com/rational/
https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation

My blog at http://rsjazz.wordpress.com or at http://rsjazz.wordpress.com.nyud.net (Said to work for China/Hong Kong) contains several more client and server API's.

With respect to c jiamg's answer above, (ITeamRepository)object.getOrigin() should give you the team repository from each element in the repository. 

You have to login to the team repository as described in https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation in the Plain-Java Client section. Use the TeamPlatform to log in and get the ITeamRepository with the credentials from the TeamPlatform. Use ITeamRepository.getClientLibrary(Clientlibrary.class) to get the API's.


Your answer


Register or to post your answer.