Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » Connection Profiles
Connection Profiles [message #16329] Fri, 09 June 2006 10:53 Go to next message
Oliver Krohne is currently offline Oliver Krohne
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 13:55 Go to previous messageGo to next message
Rob Cernich is currently offline Rob Cernich
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 13:57 Go to previous message
Oliver Krohne is currently offline Oliver Krohne
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 13:55 Go to previous message
Rob Cernich is currently offline Rob Cernich
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 13:57 Go to previous message
Oliver Krohne is currently offline Oliver Krohne
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: Mon Apr 21 11:35:39 EDT 2014

Powered by FUDForum. Page generated in 0.03465 seconds