Use Case - Extending SQL Editor Framework

From Eclipsepedia

Jump to: navigation, search

Back to API Use Case Page

Contents

Purpose

To provide a central place for customization of SQL dev tools. Extensions register a dbConfiguration of the type org.eclipse.datatools.sqltools.core.SQLDevToolsConfiguration which will be responsible for creating vendor-specific algorithms that will be used to customize the default behavior of the SQL Dev Tools framework.

Extension Points Involved

  • org.eclipse.datatools.sqltools.editor.core.dbConfigurations

Java API Classes

  • org.eclipse.datatools.sqltools.core.SQLDevToolsConfiguration: Core class for contributing vendor-specific services;
  • org.eclipse.datatools.sqltools.core.services: A service is responsible for providing a group of related strategy objects.

Exemplary Clients

DTP 1.0 contains 2 sample extension to the dbConfigurations extension point, including the generic db implementation and derby implementation. The generic db implementation would be used by the framework when no other specific implementations can be found.