<!ELEMENT extension (statusHandler*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT statusHandler EMPTY>
<!ATTLIST statusHandler
id CDATA #REQUIRED
class CDATA #REQUIRED
plugin CDATA #REQUIRED
code CDATA #REQUIRED>
IStatusHandler
-liittymän.IStatus.getPlugin()
).
Edellisessä esimerkissä määritetty tilan käsittelijä rekisteröidään sellaisten tilaobjektien käsittelijäksi, joiden lisäosatunnus on com.example.ExamplePluginId ja tilakoodi 123.<extension point=
"org.eclipse.debug.core.statusHandlers"
>
<statusHandler id=
"com.example.ExampleIdentifier"
class=
"com.example.ExampleStatusHandler"
plugin=
"com.example.ExamplePluginId"
code=
"123"
>
</statusHandler>
</extension>
Copyright (c) 2000, 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