This extension point is used to customize the annotation model creation behavior of this plug-in's default text file buffer manager. It allows to specify which annotation model factory should be used in order to create the annotation model instance of a text file buffer created for a certain file content type, file extension, or file name.
The specification of a annotation model factory. In order to find a factory for a given file the attributes of each factory specification are consulted in the following sequence: contentTypeId, fileNames, extensions. If multiple, equally specific factory specifications are found for a given file it is not specified which factory is used.
The fully qualified name of the factory implementation class. This class must implement the org.eclipse.core.filebuffers.IAnnotationModelFactory interface.
A comma separated list of file extensions for which this factory should be used.
A comma separated list of file names for which this factory should be used.
The id of a content type as defined by the org.eclipse.core.runtime.contentTypes extension point for which this factory should be used.
[Enter the first release in which this extension point appears.]
<pre>
<extension
point="org.eclipse.core.filebuffers.annotationModelCreation">
<factory
extensions="xzy"
class="org.eclipse.ui.texteditor.ResourceMarkerAnnotationModelFactory">
</factory>
</extension>
</pre>
Annotation model factories have to implement org.eclipse.core.filebuffers.IAnnotationModelFactory.