<!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) >
在上述範例中,當「除錯」視圖啟動指定 ID 的環境定義時,將會自動開啟給定的視圖。當連結不同除錯模型的環境定義啟動時,且除錯模型未關聯視圖,將不會自動關閉視圖。<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.
本程式和隨附的資料可以根據隨附這項分送且可在 http://www.eclipse.org/legal/cpl-v10.html 中取得之 Common Public License v1.0 之條款來使用