來源儲存器呈現方式

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