# Source Path Computers

###### Identifier:

org.eclipse.debug.core.sourcePathComputers

###### Since:

3.0

###### Description:

Defines an extension point to register a computer that can describe a default source lookup path for a launch configuration. Source path computers are associated with launch configuration types via the launchConfigurationTypes extension point. As well, a source path computer can be associated with a specific launch configuration via the launch configuration attribute ATTR_SOURCE_PATH_COMPUTER_ID.

###### Configuration Markup:

<!ELEMENT extension (sourcePathComputer*)>

<!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 sourcePathComputer EMPTY>

<!ATTLIST sourcePathComputer

id CDATA #REQUIRED

class CDATA #REQUIRED

>

Defines an extension point to register a computer that can describe a default source lookup path for a launch configuration.

- id - The unique id used to refer to this computer.
- class - A class that implements `ISourcePathComputerDelegate`.

###### Examples:

Following is an example source path computer definition:

       <extension point="org.eclipse.debug.core.sourcePathComputers">
         <sourcePathComputer
          id="org.eclipse.example.exampleSourcePathComputer"
          class="org.eclipse.example.SourcePathComputer">
         </sourcePathComputer>
       </extension>

###### API Information:

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

Copyright (c) 2003, 2005 IBM Corporation 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