Debug Model Presentation
Identifier:
org.eclipse.debug.ui.debugModelPresentations
Description:
This extension point allows tools to handle the
presentation aspects of a debug model.
A debug model presentation is responsible for
providing labels, images, and editors for elements
in a specific debug model.
Configuration Markup:
<!ELEMENT extension (
debugModelPresentation*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
>
-
point - a fully qualified identifier of the target extension point
-
id - an optional identifier of the extension instance
-
name - an optional name of the extension instance
<!ELEMENT debugModelPresentation EMPTY>
<!ATTLIST debugModelPresentation
class CDATA #REQUIRED
id CDATA #REQUIRED
detailsViewerConfiguration CDATA #IMPLIED
>
-
class - fully qualifed name of a Java class that implements the
org.eclipse.debug.ui.IDebugModelPresentation
interface. Since 3.1, debug model presentations may optionally implement IColorProvider
and IFontProvider
to override default fonts and colors for debug elements.
-
id - the identifier of the debug model this presentation is responsible for
-
detailsViewerConfiguration - the fully qualified name of the Java class that is an instance of
org.eclipse.jface.text.source.SourceViewerConfiguration
. When specified, the source viewer configuration will be used in the "details" area of the variables and expressions view when displaying the details of an element from the debug model associated with this debug model presentation. When unspecified, a default configuration is used.
Examples:
The following is an example of a debug model presentations extension point:
<extension point =
"org.eclipse.debug.ui.debugModelPresentations"
>
<debugModelPresentation
class =
"com.example.JavaModelPresentation"
id =
"com.example.JavaDebugModel"
>
</debugModelPresentation>
</extension>
In the example above, the class
com.example.JavaModelPresentation will be
used to render and present debug elements originating
from the debug model identified by
com.example.JavaDebugModel.
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
https://www.eclipse.org/legal/epl-v10.html