Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "SQL Query Builder Component API"
(New page: ← Back to SQL Development Tools page = Introduction = The SQL Query Builder is a component for visually editing SQL DML statements. It can be consumed by o...) |
|||
Line 5: | Line 5: | ||
= CVS Location = | = CVS Location = | ||
− | The SQL Query Builder is located in datatools part of Eclipse CVS repository: | + | The SQL Query Builder is located in the datatools part of the Eclipse CVS repository: |
: Host: dev.eclipse.org | : Host: dev.eclipse.org | ||
: Repository path: /cvsroot/datatools | : Repository path: /cvsroot/datatools | ||
Line 19: | Line 19: | ||
:org.eclipse.datatools.sqltools.examples | :org.eclipse.datatools.sqltools.examples | ||
− | = | + | = Component Structure = |
+ | == SQLBuilder component == | ||
The main component class is | The main component class is | ||
:org.eclipse.datatools.sqltools.sqlbuilder.SQLBuilder | :org.eclipse.datatools.sqltools.sqlbuilder.SQLBuilder | ||
+ | This class is a graphical editing component to which a SQL statement is passed for editing. | ||
+ | == SQLBuilder editor == | ||
+ | An editor is defined which wraps the SQLBuilder component in an Eclipse editor: | ||
+ | :org.eclipse.datatools.sqltools.sqlbuilder.SQLBuilderEditor | ||
+ | == SQLBuilder dialog== | ||
+ | In the org.eclipse.datatools.sqltools.sqlbuilder.examples plugin, there is an example of a dialog which hosts the SQLBuilder component: | ||
+ | :org.eclipse.datatools.sqltools.sqlbuilder.examples.dialogs.SQLBuilderDialog |
Revision as of 11:59, 18 October 2007
← Back to SQL Development Tools page
Contents
Introduction
The SQL Query Builder is a component for visually editing SQL DML statements. It can be consumed by other UI components such as editors, dialogs and wizards. As input, it can accept .sql files created by the DTP SQL File Editor or it can accept SQL statements passed by consumers in the form of strings.
CVS Location
The SQL Query Builder is located in the datatools part of the Eclipse CVS repository:
- Host: dev.eclipse.org
- Repository path: /cvsroot/datatools
The SQL Query Builder plugin is
- org.eclipse.datatools.sqltools.sqlbuilder
which is located in CVS under the folder
- org.eclipse.datatools.sqltools
There is also an examples plugin
- org.eclipse.datatools.sqltools.sqlbuilder.examples
which is located in CVS under the folder
- org.eclipse.datatools.sqltools.examples
Component Structure
SQLBuilder component
The main component class is
- org.eclipse.datatools.sqltools.sqlbuilder.SQLBuilder
This class is a graphical editing component to which a SQL statement is passed for editing.
SQLBuilder editor
An editor is defined which wraps the SQLBuilder component in an Eclipse editor:
- org.eclipse.datatools.sqltools.sqlbuilder.SQLBuilderEditor
SQLBuilder dialog
In the org.eclipse.datatools.sqltools.sqlbuilder.examples plugin, there is an example of a dialog which hosts the SQLBuilder component:
- org.eclipse.datatools.sqltools.sqlbuilder.examples.dialogs.SQLBuilderDialog