<!ELEMENT extension (debugModelPresentation*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT debugModelPresentation EMPTY>
<!ATTLIST debugModelPresentation
class CDATA #REQUIRED
id CDATA #REQUIRED
detailsViewerConfiguration CDATA #IMPLIED>
org.eclipse.debug.ui.IDebugModelPresentation
介面之 Java 類別的完整名稱從 3.1 開始,除錯模型呈現方式可以實作 IColorProvider
和 IFontProvider
,以置換除錯元素的預設字型和顏色。org.eclipse.jface.text.source.SourceViewerConfiguration
的 Java 類別實例的完整名稱。指定時,從除錯模型呈現相關聯的除錯模型顯示元素的詳細資料時,來源檢視器配置會用在變數和表示式視圖的「詳細資料」範圍。未指定時,使用預設的配置架構。
在上面的範例中,類別 com.example.JavaModelPresentation 被用來展現和表現 com.example.JavaDebugModel 識別的除錯模型所產生的除錯元素。<extension point =
"org.eclipse.debug.ui.debugModelPresentations"
>
<debugModelPresentation class =
"com.example.JavaModelPresentation"
id =
"com.example.JavaDebugModel"
>
</debugModelPresentation>
</extension>
IColorProvider
和 IFontProvider
,以置換除錯元素的預設字型和顏色。
Copyright (c) 2000, 2005 IBM Corporation and others.
All
rights reserved. 本程式與隨附的資料依照 Elipse Public License 1.0 版此次發行所隨附的條款而提供,
可以在以下網址取得:http://www.eclipse.org/legal/epl-v10.html