It's all about the answers!

Ask a question

How can I get ITeamRepository object from AspectEditor?


Michele Pegoraro (1.8k12105100) | 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 (55.5k23642) | 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.