It's all about the answers!

Ask a question

How can I get ITeamRepository object from AspectEditor?


Michele Pegoraro (1.8k14118103) | asked Dec 17 '12, 6:24 a.m.
Hi,
I'm developing a process aspect editor that have to retrieve some information from the process (an enumeration list in my case). How can I retrieve the ITeamRepository on which I'm working?

Thanks,
Michele.

Accepted answer


permanent link
Ralph Schoon (63.1k33646) | answered Dec 17 '12, 7:58 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Michele, have you considered to look into the
Rational Team Concert 4.0 Extensions Workshop?
The aspect editor in the example does get  the ITeamRepository.

If you have a repository object, you can typically use .getOrigin() on the object and cast to the ITeamRepository.
Michele Pegoraro selected this answer as the correct answer

Comments
Michele Pegoraro commented Dec 17 '12, 8:16 a.m.

I did not realized that the ProcessAspect was an ITeamRepository object.

Thanks!

Your answer


Register or 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.