<!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.
這個程式和檢附的資料是遵循這項分送檢附的 Eclipse Public License 1.0 版的條款而提供的,
請造訪下列網址來取得此條款:http://www.eclipse.org/legal/epl-v10.html