IDebugModelProvider
-adapter eller en stabelramme
får den oppgitte feilsøkingsmodellidentifikatoren, er valgt, blir konteksten med
den oppgitte identifikatoren aktivert.
<!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>
Eksempelet ovenfor viser at når en stabelramme med feilsøkingsidentifikatoren "com.example.myLanguageDebugModel" er valgt, aktiveres konteksten med identifikatoren "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