Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Plug-in Developer Guide
Previous Page Home Next Page

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


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire