IDebugModelProvider
-sovitin, tai määritetyn vianmääritysmallin tunnuksen mukainen pinokehys, näkymä ottaa käyttöön määritetyn tunnuksen mukaisen kontekstin.
<!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>
Edellisessä esimerkissä määritetään, että kun valitaan pinokehys, jonka vianmääritysmallin tunnus com.example.myLanguageDebugModel, otetaan käyttöön konteksti, jonka tunnus on 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