<!ELEMENT extension (factory)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT factory EMPTY>
<!ATTLIST factory
class CDATA #REQUIRED
extensions CDATA #IMPLIED
fileNames CDATA #IMPLIED
contentTypeId CDATA #IMPLIED>
Spesifisering av en annotasjonsmodell-factory. For å finne en factory til en gitt fil, blir attributtene for hver factory-spesifisering undersøkt i denne rekkefølgen: contentTypeId, fileNames, extensions. Hvis det blir funnet flere, like spesifikke, factory-spesifiseringer for en gitt fil, spesifiseres det ikke hvilken factory som brukes.
<extension point=
"org.eclipse.core.filebuffers.annotationModelCreation"
>
<factory extensions=
"xzy"
class=
"org.eclipse.ui.texteditor.ResourceMarkerAnnotationModelFactory"
>
</factory>
</extension>
Copyright (c) 2001, 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