<!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 IBM Corporation and others.
All rights reserved. 本程序及所附带提供的资料依据 Common Public License v1.0 的条款方可使用,本发行中提供了该许可条款,并且在以下位置也可获得该条款:http://www.eclipse.org/legal/cpl-v10.html。