<!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>
在上述範例中,當選取除錯模型 ID 為 "com.example.myLanguageDebugModel" 的堆疊框時,將會啟用 ID 為 "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.
本程式和隨附的資料可以根據隨附這項分送且可在 http://www.eclipse.org/legal/cpl-v10.html 中取得之 Common Public License v1.0 之條款來使用