how to set userid in com.ibm.team.process.internal.rcp.ui.RepositoryLoginDialog ??
One answer
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 ,
Thank you for your answer. Actually i have requirement to automate RTC connection and i have the code for it and now i want to populate userid and url to com.ibm.team.process.rcp.ui.RepositoryCreationWizard as i could not do that so i thought to use RepositoryLoginInfoDialog. Could you please let me know how i can populate uri n userid to RepositoryCreationWizard?
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.
Consider to really read my answer and to go through the links provided.
You probably also should provide more information about what and why you want to achieve rather than how. See How should I ask a question in the Forum if I want to receive useful answers?