|
|
Re: Getting connection profile content [message #36421 is a reply to message #36401] |
Tue, 18 September 2007 06:36 |
Eclipse User |
|
|
|
Originally posted by: hui.cao.sybase.ocm
In SQL Dev Tools, we have a utility method ProfileUtil.getDatabase, which
does exactly what you want, although this is not API and we can not
guarantee its stability. In fact, you can see that the parameter
DatabaseIdentifier asks more than what this method needs: a profile name is
sufficient. So we'll overload this method with a profileName as the
parameter later.
--
Best Regards!
Max (Hui) Cao
Sybase Shanghai RD
"Chuck Doucette" <cdoucette@vaultus.com> wrote in message
news:fcmdsc$3sv$1@build.eclipse.org...
> Let me be more specific:
>
> How can I get a handle on a
> (org.eclipse.datatools.modelbase.sql.schema.)Database object
> given a connection profile?
>
> Thanks,
> Chuck
>
> "Chuck Doucette" <cdoucette@vaultus.com> wrote in message
> news:fcm30k$8al$1@build.eclipse.org...
>>I am now able to successfully get a handle on a particular
>>IConnectionProfile via the ProfileManager object.
>>
>> How can I get the meta data content from that connection profile and use
>> it in another plugin (rather than just viewing it as a user)?
>>
>> Obviously, I must connect first.
>>
>> Thanks,
>> Chuck
>>
>>
>
>
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04158 seconds