源定位器

org.eclipse.debug.core.sourceLocators

此扩展点提供了一种机制来指定要与启动配置配合使用的源定位器。

<!ELEMENT extension (sourceLocator*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT sourceLocator EMPTY>

<!ATTLIST sourceLocator

id    CDATA #REQUIRED

class CDATA #REQUIRED

name  CDATA #REQUIRED>


以下是源定位器扩展点的一个示例:

 

<extension point=

"org.eclipse.debug.core.sourceLocators"

>

<sourceLocator id=

"com.example.ExampleIdentifier"

class=

"com.example.ExampleSourceLocator"

name=

"Example Source Locator"

>

</sourceLocator>

</extension>

class 属性的值必须是实现 org.eclipse.debug.core.model.IPersistableSourceLocator 接口的 Java 类的标准名称。