| jar files for accessing existing connection profile [message #720128] |
Mon, 29 August 2011 19:55  |
Brian Lavender Messages: 12 Registered: July 2009 |
Junior Member |
|
|
I was looking at the FAQ and I saw the below question. What jar files do I include in my project for this? Or, is there a way to create a project that will included the necessary jars?
brian
Q: How do I programmatically access an existing connection profile?
A: Access to existing connection profiles (persisted or transient) is done using the ProfileManager class (org.eclipse.datatools.connectivity.ProfileManager). So this is pretty simple:
IConnectionProfile profile = ProfileManager.getInstance().getProfileByName("myprofile");
|
|
|
|
Powered by
FUDForum. Page generated in 0.01721 seconds