源定位器

标识: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> 

API 信息:属性 class 的值必须是实现接口 org.eclipse.debug.core.model.IPersistableSourceLocator 的 Java 类的全限定名。

Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved.