來源定位器

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 類別名稱。