# Routine Source Locator Provider

###### Identifier:

org.eclipse.datatools.sqltools.debugger.core.sourceLocatorProvider

###### Description:

This extension point gives the extender an opportunity to change the default source locator used by the sql debugger framework. e.g. clients may contribute a specific source locator and model presentation to open a multipage form editor instead of the standalone sql editor.

###### Configuration Markup:

<!ELEMENT extension (sourceLocator*)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED

>

- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance

<!ELEMENT sourceLocator EMPTY>

<!ATTLIST sourceLocator

id CDATA #REQUIRED

class CDATA #REQUIRED

name CDATA #REQUIRED

>

- id - specifies a unique identifier for this source locator provider.
- class - specifies the fully qualified name of the Java class that implements `ISourceLocatorProvider`.
- name - a human-readable name, describing the type of this source locator provider.

###### Examples:

The following is an example of a source locator extension point:

     <extension point="com.sybase.stf.dmp.sybcomponents.sourceLocatorProvider">
      <sourceLocatorProvider
       id="com.example.ExampleIdentifier"
       class="com.example.ExampleSourceLocatorProvider"
       name="Example Source Locator Provider">
      </sourceLocatorProvider>
     </extension>

###### API Information:

Value of the attribute class must be a fully qualified name of a Java class that implements the interface ISourceLocatorProvider.

/******************************************************************************* * Copyright (c) 2004, 2005 Sybase, Inc. and others. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Sybase, Inc. - initial API and implementation *******************************************************************************/