源容器类型

org.eclipse.debug.core.sourceContainerTypes

3.0

此扩展点允许调试平台源查找设施添加源容器类型的可扩展集合。

<!ELEMENT extension (sourceContainerType*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT sourceContainerType EMPTY>

<!ATTLIST sourceContainerType

id          CDATA #REQUIRED

name        CDATA #REQUIRED

class       CDATA #REQUIRED

description CDATA #IMPLIED>


以下是源容器类型定义的一个示例:

<extension point=

"org.eclipse.debug.core.sourceContainerTypes"

>

<sourceContainerType name=

"Project"

class=

"org.eclipse.debug.internal.core.sourcelookup.containers.ProjectSourceContainerType"

id=

"org.eclipse.debug.core.containerType.project"

description=

"A project in the workspace"

>

</sourceContainerType>

</extension>

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