源容器表示

org.eclipse.debug.ui.sourceContainerPresentations

3.0

用来定义源容器类型的表示方面的问题的扩展点。

<!ELEMENT extension (sourceContainerPresentation*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT sourceContainerPresentation EMPTY>

<!ATTLIST sourceContainerPresentation

id              CDATA #REQUIRED

icon            CDATA #IMPLIED

containerTypeID CDATA #REQUIRED

browserClass    CDATA #IMPLIED>

用来定义源容器类型的表示方面的问题的扩展点。



以下是源容器表示定义的一个示例。
   

<extension point=

"org.eclipse.debug.ui.sourceContainerPresentations"

>

<sourceContainerPresentation browserClass=

"org.eclipse.debug.internal.ui.sourcelookup.browsers.ProjectSourceContainerBrowser"

containerTypeID=

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

icon=

"icons/full/obj16/prj_obj.gif"

id=

"org.eclipse.debug.ui.containerPresentation.project"

>

</sourceContainerPresentation>

</extension>

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