<!ELEMENT extension (breakpoint*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT breakpoint EMPTY>
<!ATTLIST breakpoint
id CDATA #REQUIRED
markerType CDATA #REQUIRED
class CDATA #REQUIRED>
Dans cet exemple, le type spécifié de point d'arrêt est implémenté par la classe com.example.BreakpointImpl. Il existe une définition de marqueur associée pour com.example.ExampleBreakpointMarker, stipulant les attributs de ce point d'arrêt.<extension point=
"org.eclipse.debug.core.breakpoints"
>
<breakpoint id=
"com.example.ExampleBreakpoint"
markerType=
"com.example.ExampleBreakpointMarker"
class=
"com.example.ExampleBreakpointImpl"
>
</breakpoint>
</extension>
Copyright (c) 2000, 2003 IBM Corporation and others.
All rights reserved. Ce programme et les produits qui l'accompagnent sont
fournis sous licence v1.0 associée à cette distribution et disponibles à
l'adresse suivante :
http://www.eclipse.org/legal/cpl-v10.html