<!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) >
在以上示例中,当“调试”视图激活了带有指定标识的上下文时,给定的视图就会自动打开。当激活了绑定至另一个调试模型而未与视图相关联的上下文时,视图将不会自动关闭。<extension point=
"org.eclipse.debug.ui.contextViewBindings"
>
<contextViewBinding contextId=
"com.example.mydebugger.debugging"
viewId=
"com.example.view"
autoOpen=
"true"
autoClose=
"false"
>
</contextViewBinding>
</extension>
Copyright (c) 2003, 2004 IBM Corporation and others.
All rights reserved. 本程序及所附带提供的资料依据 Common Public License v1.0 的条款方可使用,本发行中提供了该许可条款,并且在以下位置也可获得该条款:http://www.eclipse.org/legal/cpl-v10.html。