It's all about the answers!

Ask a question

Active TeamRepository and Project area


Abhishek Minde (7121912) | asked Jun 10 '09, 12:47 a.m.
I am developing a bridge plugin between my application plugins and Jazz Client (RTC). I am getting the access to the repository and the project area by using hard coded host strings.

However, I am looking forward to a way by which I can retrieve the active project area. Any help on this is appreciated.

I tried to search for APIs in different clients (IWorkItemClient, Process client etc.), but I could not find anything.

Thanks
Abhi

2 answers



permanent link
Ryan Manwiller (1.3k1) | answered Jun 10 '09, 10:31 a.m.
JAZZ DEVELOPER
I think what you are after is the set of connected project areas (there can be more than one).

See com.ibm.team.process.rcp.ui.teamnavigator.ConnectedProjectAreaRegistry

Such as:


ConnectedProjectAreaRegistry.getDefault().getConnectedProjectAreas(teamRepository)

permanent link
Abhishek Minde (7121912) | answered Jun 12 '09, 12:38 p.m.
I think what you are after is the set of connected project areas (there can be more than one).

See com.ibm.team.process.rcp.ui.teamnavigator.ConnectedProjectAreaRegistry

Such as:


ConnectedProjectAreaRegistry.getDefault().getConnectedProjectAreas(teamRepository)


Thanks Ryan! I will try this out.

Your answer


Register or to post your answer.