Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » Connection Profiles
Connection Profiles [message #16329] Fri, 09 June 2006 14:53 Go to next message
Oliver Krohne is currently offline Oliver KrohneFriend
Messages: 24
Registered: July 2009
Junior Member
Hi,

i would like to use the created Connection Profiles in my Plugin.
How can I retrieve all Connection Profiles ?

Thanks,
Oliver
Re: Connection Profiles [message #16342 is a reply to message #16329] Fri, 09 June 2006 17:55 Go to previous messageGo to next message
Rob Cernich is currently offline Rob CernichFriend
Messages: 56
Registered: July 2009
Member
Oliver,

Have a look at org.eclipse.datatools.connectivity.ProfileManager. The
methods you should look at are:

getProfiles() - returns all the profile defined in the workspace.
getProfilesByCategory() - returns all the profiles contained by the
specified category (not sure if this recurses through subcategories).
getProfileByName() - returns a profile with the specified name.
getProfileByInstanceID() - returns the profile with the specified ID.
getProfileByProviderID() - returns all the profiles of a specific type
(e.g. using
org.eclipse.datatools.connectivity.db.derby.embedded.connect ionProfile
would return all the Derby connection profiles;
org.eclipse.datatools.connectivity.db.generic.connectionProf ile would
return all the generic DB connection profiles).

Hope that helps.

Sincerely,
Rob Cernich
Re: Connection Profiles [message #16355 is a reply to message #16342] Fri, 09 June 2006 17:57 Go to previous message
Oliver Krohne is currently offline Oliver KrohneFriend
Messages: 24
Registered: July 2009
Junior Member
Hi Rob,

great, that is what I am looking for.

Thanks,
Oliver



Rob Cernich schrieb:
> Oliver,
>
> Have a look at org.eclipse.datatools.connectivity.ProfileManager. The
> methods you should look at are:
>
> getProfiles() - returns all the profile defined in the workspace.
> getProfilesByCategory() - returns all the profiles contained by the
> specified category (not sure if this recurses through subcategories).
> getProfileByName() - returns a profile with the specified name.
> getProfileByInstanceID() - returns the profile with the specified ID.
> getProfileByProviderID() - returns all the profiles of a specific type
> (e.g. using
> org.eclipse.datatools.connectivity.db.derby.embedded.connect ionProfile
> would return all the Derby connection profiles;
> org.eclipse.datatools.connectivity.db.generic.connectionProf ile would
> return all the generic DB connection profiles).
>
> Hope that helps.
>
> Sincerely,
> Rob Cernich
>
Re: Connection Profiles [message #579399 is a reply to message #16329] Fri, 09 June 2006 17:55 Go to previous message
Rob Cernich is currently offline Rob CernichFriend
Messages: 56
Registered: July 2009
Member
Oliver,

Have a look at org.eclipse.datatools.connectivity.ProfileManager. The
methods you should look at are:

getProfiles() - returns all the profile defined in the workspace.
getProfilesByCategory() - returns all the profiles contained by the
specified category (not sure if this recurses through subcategories).
getProfileByName() - returns a profile with the specified name.
getProfileByInstanceID() - returns the profile with the specified ID.
getProfileByProviderID() - returns all the profiles of a specific type
(e.g. using
org.eclipse.datatools.connectivity.db.derby.embedded.connect ionProfile
would return all the Derby connection profiles;
org.eclipse.datatools.connectivity.db.generic.connectionProf ile would
return all the generic DB connection profiles).

Hope that helps.

Sincerely,
Rob Cernich
Re: Connection Profiles [message #579419 is a reply to message #16342] Fri, 09 June 2006 17:57 Go to previous message
Oliver Krohne is currently offline Oliver KrohneFriend
Messages: 24
Registered: July 2009
Junior Member
Hi Rob,

great, that is what I am looking for.

Thanks,
Oliver



Rob Cernich schrieb:
> Oliver,
>
> Have a look at org.eclipse.datatools.connectivity.ProfileManager. The
> methods you should look at are:
>
> getProfiles() - returns all the profile defined in the workspace.
> getProfilesByCategory() - returns all the profiles contained by the
> specified category (not sure if this recurses through subcategories).
> getProfileByName() - returns a profile with the specified name.
> getProfileByInstanceID() - returns the profile with the specified ID.
> getProfileByProviderID() - returns all the profiles of a specific type
> (e.g. using
> org.eclipse.datatools.connectivity.db.derby.embedded.connect ionProfile
> would return all the Derby connection profiles;
> org.eclipse.datatools.connectivity.db.generic.connectionProf ile would
> return all the generic DB connection profiles).
>
> Hope that helps.
>
> Sincerely,
> Rob Cernich
>
Previous Topic:Connection Profiles
Next Topic:Filtering mechanism
Goto Forum:
  


Current Time: Fri Apr 19 22:23:16 GMT 2024

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

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

Back to the top