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>


<!ELEMENT modelContextBinding EMPTY>

<!ATTLIST modelContextBinding

debugModelId CDATA #REQUIRED

contextId    IDREF #REQUIRED>


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.
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html/ SPDX-License-Identifier: EPL-2.0