# Source Locators

###### Identifier:

org.eclipse.debug.core.sourceLocators

###### Description:

This extension point provides a mechanism specifying a source locator to be used with a launch configuration.

###### 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.
- class - specifies the fully qualified name of the Java class that implements `IPersistableSourceLocator`.
- name - a human-readable name, describing the type of this source locator.

###### Examples:

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

     <extension point="org.eclipse.debug.core.sourceLocators">
      <sourceLocator
       id="com.example.ExampleIdentifier"
       class="com.example.ExampleSourceLocator"
       name="Example Source Locator">
      </sourceLocator>
     </extension>

###### API Information:

Value of the attribute class must be a fully qualified name of a Java class that implements the interface org.eclipse.debug.core.model.IPersistableSourceLocator.

Copyright (c) 2000, 2005 IBM Corporation and others.
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html/ SPDX-License-Identifier: EPL-2.0