源路径计算机

org.eclipse.debug.core.sourcePathComputers

3.0

定义一个扩展点来注册可以描述启动配置的源查找路径的计算机。源路径计算机通过 launchConfigurationTypes 扩展点来实现与启动配置类型相关联。另外,源路径计算机可以通过启动配置属性 ATTR_SOURCE_PATH_COMPUTER_ID 与特定启动配置相关联。

<!ELEMENT extension (sourcePathComputer*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT sourcePathComputer EMPTY>

<!ATTLIST sourcePathComputer

id    CDATA #REQUIRED

class CDATA #REQUIRED>

定义一个扩展点来注册可以描述启动配置的源查找路径的计算机。



以下是源路径计算机定义的一个示例:
   

<extension point=

"org.eclipse.debug.core.sourcePathComputers"

>

<sourcePathComputer id=

"org.eclipse.example.exampleSourcePathComputer"

class=

"org.eclipse.example.SourcePathComputer"

>

</sourcePathComputer>

</extension>

class 属性的值必须是实现 ISourcePathComputer 接口的 Java 类的标准名称。