Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » jar files for accessing existing connection profile
jar files for accessing existing connection profile [message #720128] Mon, 29 August 2011 23:55 Go to next message
Brian Lavender is currently offline 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");
Re: jar files for accessing existing connection profile [message #724658 is a reply to message #720128] Mon, 12 September 2011 18:32 Go to previous message
Brian Fitzpatrick is currently offline Brian Fitzpatrick
Messages: 495
Registered: July 2009
Senior Member
I think this is the same question as I answered here:
http://www.eclipse.org/forums/index.php/mv/msg/237444/724655/#msg_724655
Previous Topic:jar files for IConnectionProfile
Next Topic:Would like to contribute my fix to the open source DTP plugins
Goto Forum:
  


Current Time: Sun Oct 26 01:07:12 GMT 2014

Powered by FUDForum. Page generated in 0.01857 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software