<!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. This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0 which
accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html