IDebugModelProvider
适配器或堆栈帧架提供了指定的调试模式标识)中的一个元素时,将启用具有给定标识的上下文。
<!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>
在以上示例中,当选择了具有调试模式标识“com.example.myLanguageDebugModel”的堆栈帧架时,就会启用具有“com.example.myLanguage.debugging”标识的上下文。<extension point=
"org.eclipse.debug.ui.debugModelContextBindings"
>
<modelContextBinding contextId=
"com.example.myLanguage.debugging"
debugModelId=
"com.example.myLanguageDebugModel"
>
</modelContextBinding>
</extension>
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
http://www.eclipse.org/legal/epl-v10.html