Debug Model Context Bindings

org.eclipse.debug.ui.debugModelContextBindings

3.0

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.

<!ELEMENT extension (modelContextBinding*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT modelContextBinding EMPTY>

<!ATTLIST modelContextBinding

debugModelId CDATA #REQUIRED

contextId    CDATA #REQUIRED>


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.