<!ELEMENT extension (markerResolutionGenerator*)>
<!ATTLIST-udvidelse
point CDATA #REQUIRED
id CDATA #IMPLIED
navn CDATA #IMPLIED>
<!ELEMENT markerResolutionGenerator (attribute*)>
<!ATTLIST markerResolutionGenerator
class CDATA #REQUIRED
markerType CDATA #IMPLIED>
<!ELEMENT attribute EMPTY>
<!ATTLIST attribute
navn CDATA #REQUIRED
value CDATA #REQUIRED>
I eksemplet ovenfor knyttes en generator til markeringsopløsninger til markeringer af typen org.eclipse.ui.examples.readmetool.readmemarker, hvis org.eclipse.ui.examples.readmetool.id-attribut har værdien 1234.<udvidelsespunkt=
"org.eclipse.ui.ide.markerResolution"
>
<markerResolutionGenerator class=
"org.eclipse.ui.examples.readmetool.ReadmeMarkerResolutionGenerator"
markerType=
"org.eclipse.ui.examples.readmetool.readmemarker"
>
<attribute name=
"org.eclipse.ui.examples.readmetool.id"
value=
"1234"
/>
</markerResolutionGenerator>
</extension>
Copyright (c) 2002, 2004 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