how to set userid in com.ibm.team.process.internal.rcp.ui.RepositoryLoginDialog ??
![]()
Nandini Math (28●3)
| asked Feb 02 '16, 11:13 p.m.
edited Feb 03 '16, 12:25 a.m. by Ralph Schoon (61.8k●3●36●43)
I want to populate userid in com.ibm.team.process.internal.rcp.ui.RepositoryLoginDialog through a program, as com.ibm.team.process.internal.rcp.ui.RepositoryLoginDialog , how do i set it as userid field is private in RepositoryDialog and it does not have a setter method????
|
One answer
![]()
Ralph Schoon (61.8k●3●36●43)
| answered Feb 03 '16, 12:36 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I don't think you can do that, and I am not sure why you want to. If you want to access the team repository from within Eclipse, there are better ways to do that, once the user has logged in or to log into it in automation.
Start here: https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ and read this and the related links carefully. One important link is Understanding and Using the RTC Java Client API . This explains how to log into the team repository, or how to get the connection if the code runs in a RTC Eclipse client that is logged in. Comments Hello Mr. Ralph ,
The dialog you try to use is a user dialog and I can't tell if you have any chance to automate that dialog without special tools that control the application. For Eclipse extensions and automation you would not use or need that dialog to log in.
|