Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » [rdb] How do I get the rdb connections from another plugin?
[rdb] How do I get the rdb connections from another plugin? [message #121763] Mon, 18 July 2005 12:24
Dirk le Roux is currently offline Dirk le RouxFriend
Messages: 8
Registered: July 2009
Junior Member
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
Previous Topic:Web module project interoperability
Next Topic:contexts
Goto Forum:
  


Current Time: Sat Oct 19 14:27:07 GMT 2024

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

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

Back to the top