Context View Bindings

org.eclipse.debug.ui.contextViewBindings

3.0

This extension point provides a mechanism for associating a view with a context identifier. When a context is activated by the Debug view, views associated with it (and also views associated with any parent contexts) are opened, closed, or activated. Contributors have the option to override the automatic open and close behavior.

<!ELEMENT extension (contextViewBinding*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT contextViewBinding EMPTY>

<!ATTLIST contextViewBinding

contextId CDATA #REQUIRED

viewId    CDATA #REQUIRED

autoOpen  (true | false)

autoClose (true | false) >


The following is an example of a context view binding contribution:

<extension point=

"org.eclipse.debug.ui.contextViewBindings"

>

<contextViewBinding contextId=

"com.example.mydebugger.debugging"

viewId=

"com.example.view"

autoOpen=

"true"

autoClose=

"false"

>

</contextViewBinding>

</extension>

In the above example, when a context with the specified identifier is activated by the Debug view, the given view will be automatically opened. When a context which is bound to a different debug model is activated that isn't associated with the view, the view will not be automatically closed.