Connection Profiles [message #16329] |
Fri, 09 June 2006 10:53  |
Eclipse User |
|
|
|
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 #16355 is a reply to message #16342] |
Fri, 09 June 2006 13:57  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.04430 seconds