Skip to main content

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.

Jump to: navigation, search

SQL Query Builder Component API

Revision as of 04:26, 19 October 2007 by Unnamed Poltroon (Talk)

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