我如何使用eclipse Data Tools向导?

时间:2021-11-16 11:20:36

I'm working on a small eclipse/RCP application, which will require some Database and Table management and was wondering, how I can use the Wizards and Views which are included in Eclipse DTP. There should be a way to use DTP to configure the required stuff...

我正在研究一个小的eclipse / RCP应用程序,它需要一些数据库和表管理,并且想知道如何使用Eclipse DTP中包含的向导和视图。应该有办法使用DTP配置所需的东西......

I'd appreciate a short example how to call a wizard to select a database and where the information goes to once submitted.

我很感激如何调用向导来选择数据库以及信息在提交后的位置。

Thanks :)

2 个解决方案

#1


1  

The first thing that you need to determine is whether DTP will even work in an RCP app. Many Eclipse Tools plugins are designed only for use in Eclipse IDE.

您需要确定的第一件事是DTP是否甚至可以在RCP应用程序中运行。许多Eclipse Tools插件仅设计用于Eclipse IDE。

I would start by asking this on the DTP project's forum. If the answer to the RCP compatibility is yes, the folks on that forum will be able to help you out with instructions on how to launch the wizards, etc.

我首先在DTP项目的论坛上问这个问题。如果RCP兼容性的答案是肯定的,该论坛上的人员将能够帮助您解决有关如何启动向导等的说明。

http://www.eclipse.org/forums/index.php?t=thread&frm_id=3

#2


-1  

You have to Open the Database Development Perspective. Define a new Connection in the Datasource Explorer. Create a SQL File in your Project and set the previously defined connection. then press the right key strokes to execute the sql on the connection you have set.

您必须打开数据库开发视角。在Datasource Explorer中定义新的Connection。在项目中创建SQL文件并设置先前定义的连接。然后按右键,在您设置的连接上执行sql。

to lookup the key bindings open the preferences window->preferences. then open generar->keys and enter "database tools" to filter just the key bindings for the database tools.

查找键绑定打开首选项窗口 - >首选项。然后打开generar-> keys并输入“数据库工具”来过滤数据库工具的键绑定。

#1


1  

The first thing that you need to determine is whether DTP will even work in an RCP app. Many Eclipse Tools plugins are designed only for use in Eclipse IDE.

您需要确定的第一件事是DTP是否甚至可以在RCP应用程序中运行。许多Eclipse Tools插件仅设计用于Eclipse IDE。

I would start by asking this on the DTP project's forum. If the answer to the RCP compatibility is yes, the folks on that forum will be able to help you out with instructions on how to launch the wizards, etc.

我首先在DTP项目的论坛上问这个问题。如果RCP兼容性的答案是肯定的,该论坛上的人员将能够帮助您解决有关如何启动向导等的说明。

http://www.eclipse.org/forums/index.php?t=thread&frm_id=3

#2


-1  

You have to Open the Database Development Perspective. Define a new Connection in the Datasource Explorer. Create a SQL File in your Project and set the previously defined connection. then press the right key strokes to execute the sql on the connection you have set.

您必须打开数据库开发视角。在Datasource Explorer中定义新的Connection。在项目中创建SQL文件并设置先前定义的连接。然后按右键,在您设置的连接上执行sql。

to lookup the key bindings open the preferences window->preferences. then open generar->keys and enter "database tools" to filter just the key bindings for the database tools.

查找键绑定打开首选项窗口 - >首选项。然后打开generar-> keys并输入“数据库工具”来过滤数据库工具的键绑定。