Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "SQL Query Builder Component API"

Line 19: Line 19:
 
:org.eclipse.datatools.sqltools.examples
 
:org.eclipse.datatools.sqltools.examples
  
= Component Structure =
+
= SQLBuilder Component and Example Consumers=
 
== SQLBuilder component ==
 
== SQLBuilder component ==
 
The main component class is
 
The main component class is
Line 25: Line 25:
 
This class is a graphical editing component to which a SQL statement is passed for editing.
 
This class is a graphical editing component to which a SQL statement is passed for editing.
 
== SQLBuilder editor ==
 
== SQLBuilder editor ==
An editor is defined which wraps the SQLBuilder component in an Eclipse editor:
+
The SQLBuilderEditor hosts the SQLBuilder component in an Eclipse editor:
 
:org.eclipse.datatools.sqltools.sqlbuilder.SQLBuilderEditor
 
:org.eclipse.datatools.sqltools.sqlbuilder.SQLBuilderEditor
 
== SQLBuilder dialog==
 
== SQLBuilder dialog==
 
In the org.eclipse.datatools.sqltools.sqlbuilder.examples plugin, there is an example of a dialog which hosts the SQLBuilder component:
 
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
 
:org.eclipse.datatools.sqltools.sqlbuilder.examples.dialogs.SQLBuilderDialog

Revision as of 04:26, 19 October 2007

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 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

SQLBuilder Component and Example Consumers

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

The SQLBuilderEditor hosts 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

Back to the top