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