[rdb] How do I get the rdb connections from another plugin? [message #121763] |
Mon, 18 July 2005 08:24 |
Eclipse User |
|
|
|
Hi,
We are using RBD in our ORM plugin and have run into some problems. Our
plugin uses RDB to reverse engineer the database so the user can select
tables and columns to map to.
On our properties page we let the user select an existing rdb connection
or create a new one.
1) How do I get a list of connections? I currently call
RDBCorePlugin.getDefault().getConnectionManager().getAllName dConnectionInfo(),
but RDBCorePlugin is in an internal package
org.eclipse.wst.rdb.internal.core. Is there some other way to get the
connections?
2) How should I invoke the NewConnectionWizard? I have tried to invoke the
run method on AddConnectionAction and this works perfectly while the
Server Explorer view is open, but it throws a NPE on finish if the Server
Explorer view is not open.
Thanks for your help.
Dirk le Roux
|
|
|
Powered by
FUDForum. Page generated in 0.02541 seconds