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 Context Bindings

Identifier:
org.eclipse.debug.ui.debugModelContextBindings

Since:
3.0

Description:
This extension point provides a mechanism for specifying a context that should be associated with the given debug model. The Debug view uses these bindings to automatically enable contexts. When an element in the Debug view which provides an IDebugModelProvider adapter or a stack frame with the specified debug model identifier is selected, the context with the given identifier will be enabled.

Configuration Markup:

<!ELEMENT extension ( modelContextBinding*)>

<!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 modelContextBinding EMPTY>

<!ATTLIST modelContextBinding

debugModelId CDATA #REQUIRED

contextId    IDREF #REQUIRED

>

  • debugModelId - specifies the debug model identifier this binding is for
  • contextId - specifies the context identifier of the context that should be associated with the given debug model

Examples:
The following is an example of a debug model context binding contribution:

<extension
      point=
"org.eclipse.debug.ui.debugModelContextBindings"
>
   <modelContextBinding
         contextId=
"com.example.myLanguage.debugging"

         debugModelId=
"com.example.myLanguageDebugModel"
>
   </modelContextBinding>
</extension>

In the above example, when a stack frame with the debug model identifier of "com.example.myLanguageDebugModel" is selected, the context with the identifier "com.example.myLanguage.debugging" will be enabled.


Copyright (c) 2004, 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