Java Reference
In-Depth Information
<extension
point="org.eclipse.gmf.runtime.diagram.ui.resources.editor.
documentProviders">
<provider
inputTypes="org.eclipse.ui.IStorageEditorInput"
class="org.eclipse.gmf.runtime.diagram.ui.resources.editor.
FileDocumentProvider"
id="org.eclipse.gmf.runtime.diagram.ui.resources.editor.
FileDocumentProvider">
</provider>
</extension>
API information:
DocumentProviders registered for a file extension have precedence over
those registered for input types. DocumentProviders must implement the inter-
face org.eclipse.ui.texteditor.IDocumentProvider . Editor inputs
must be instance of org.eclipse.ui.IEditorInput . Figure 10-46 is a dia-
gram of the IDocumentProvider interface and its implementations provided by
the runtime.
Figure 10-46
DocumentProvider
Notes:
Diagrams generated using the GMF tooling do not currently use this
extension-point, but they do provide an implementation of IDiagramDocument
Provider and extend AbstractDocumentProvider .
Search WWH ::




Custom Search