Runtime

## Uses of Interface
org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocument

Packages that use IDocument
org.eclipse.gmf.runtime.diagram.ui.resources.editor.document
org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.document

Uses of IDocument in org.eclipse.gmf.runtime.diagram.ui.resources.editor.document

Subinterfaces of IDocument in org.eclipse.gmf.runtime.diagram.ui.resources.editor.document
`interface` `IDiagramDocument` An interface defining a `IDocument` with content of `org.eclipse.gmf.runtime.notation.Diagram`

Classes in org.eclipse.gmf.runtime.diagram.ui.resources.editor.document that implement IDocument
`class` `AbstractDocument` Abstract implementation of `IDocument`.
`class` `DiagramDocument` An implementation of `IDiagramDocument`,

Fields in org.eclipse.gmf.runtime.diagram.ui.resources.editor.document declared as IDocument
`IDocument` `DocumentEvent.fDocument` The changed document
`IDocument` `AbstractDocumentProvider.ElementInfo.fDocument` The element's document

Methods in org.eclipse.gmf.runtime.diagram.ui.resources.editor.document that return IDocument
`protected IDocument` `DiagramInputDocumentProvider.createDocument(java.lang.Object element)`
`protected IDocument` `DiagramInputDocumentProvider.createEmptyDocument()` Factory method for creating empty documents.
`IDocument` `DocumentEvent.getDocument()` Returns the changed document.
`IDocument` `IDocumentProvider.getDocument(java.lang.Object element)` Returns the document for the given element.
`protected abstract IDocument` `AbstractDocumentProvider.createDocument(java.lang.Object element)` Creates the document for the given element.
`protected abstract IDocument` `AbstractDocumentProvider.createEmptyDocument()` Creates the document for the given element.
`IDocument` `AbstractDocumentProvider.getDocument(java.lang.Object element)`

Methods in org.eclipse.gmf.runtime.diagram.ui.resources.editor.document with parameters of type IDocument
`protected void` `DiagramInputDocumentProvider.setupDocument(java.lang.Object element, IDocument document)` Sets up the given document as it would be provided for the given element.
`protected boolean` `DiagramInputDocumentProvider.setDocumentContent(IDocument document, IEditorInput editorInput)` Initializes the given document from the given editor input using the given character encoding.
`protected void` `DiagramInputDocumentProvider.doSaveDocument(IProgressMonitor monitor, java.lang.Object element, IDocument document, boolean overwrite)`
`void` `IDocumentProvider.saveDocument(IProgressMonitor monitor, java.lang.Object element, IDocument document, boolean overwrite)` Saves the given document provided for the given element.
`protected abstract void` `AbstractDocumentProvider.doSaveDocument(IProgressMonitor monitor, java.lang.Object element, IDocument document, boolean overwrite)` Performs the actual work of saving the given document provided for the given element.
`void` `AbstractDocumentProvider.saveDocument(IProgressMonitor monitor, java.lang.Object element, IDocument document, boolean overwrite)`
`AbstractDocumentProvider.DocumentProviderOperation` `AbstractDocumentProvider.getSaveOperation(java.lang.Object element, IDocument document, boolean overwrite)`

Constructors in org.eclipse.gmf.runtime.diagram.ui.resources.editor.document with parameters of type IDocument
`DiagramInputDocumentProvider.DiagramResourceInfo(IDocument document, DiagramModificationListener listener)` Creates a new storage info.
`DocumentEvent(IDocument doc, int eventKind, java.lang.Object eventInfo)` Creates a new document event.
`AbstractDocumentProvider.ElementInfo(IDocument document)` Creates a new element info, initialized with the given document and annotation model.

Uses of IDocument in org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.document

Methods in org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.document that return IDocument
`protected IDocument` `StorageDocumentProvider.createDocument(java.lang.Object element)`
`protected abstract IDocument` `StorageDocumentProvider.createEmptyDocument()` Factory method for creating empty documents.
`protected IDocument` `StorageDiagramDocumentProvider.createEmptyDocument()`
`protected IDocument` `FileDiagramDocumentProvider.createEmptyDocument()`

Methods in org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.document with parameters of type IDocument
`protected void` `StorageDocumentProvider.setupDocument(java.lang.Object element, IDocument document)` Sets up the given document as it would be provided for the given element.
`AbstractDocumentProvider.ElementInfo` `StorageDocumentProvider.createNewElementInfo(IDocument document)` Create a new ElementInfo
`protected boolean` `StorageDocumentProvider.setDocumentContent(IDocument document, IEditorInput editorInput)` Initializes the given document from the given editor input using the given character encoding.
`protected abstract void` `StorageDocumentProvider.setDocumentContentFromStorage(IDocument document, IStorage storage)` Initializes the given document with the given stream using the given encoding.
`protected void` `StorageDocumentProvider.doSaveDocument(IProgressMonitor monitor, java.lang.Object element, IDocument document, boolean overwrite)`
`protected void` `StorageDiagramDocumentProvider.setDocumentContentFromStorage(IDocument document, IStorage storage)`
`protected boolean` `StorageDiagramDocumentProvider.setDocumentContent(IDocument document, IEditorInput editorInput)`
`AbstractDocumentProvider.ElementInfo` `StorageDiagramDocumentProvider.createNewElementInfo(IDocument document)`
`protected abstract void` `FileDocumentProvider.saveDocumentToFile(IDocument document, IFile file, boolean overwrite, IProgressMonitor monitor)` Initializes the given document with the given stream using the given encoding.
`protected void` `FileDocumentProvider.doSaveDocument(IProgressMonitor monitor, java.lang.Object element, IDocument document, boolean overwrite)`
`protected FileDocumentProvider.FileInfo` `FileDocumentProvider.createFileInfo(IDocument document, FileDocumentProvider.FileSynchronizer synchronizer, IFileEditorInput input)` Create a FileInfo for the given document.
`protected void` `FileDocumentProvider.setDocumentContent(IDocument document, java.lang.Object content)` Initializes the given document with the given stream using the given encoding.
`protected void` `FileDiagramDocumentProvider.setDocumentContentFromStorage(IDocument document, IStorage storage)`
`protected void` `FileDiagramDocumentProvider.saveDocumentToFile(IDocument document, IFile file, boolean overwrite, IProgressMonitor monitor)`
`protected FileDocumentProvider.FileInfo` `FileDiagramDocumentProvider.createFileInfo(IDocument document, FileDocumentProvider.FileSynchronizer synchronizer, IFileEditorInput input)`
`protected boolean` `FileDiagramDocumentProvider.setDocumentContent(IDocument document, IEditorInput editorInput)`
`protected void` `FileDiagramDocumentProvider.doSaveDocument(IProgressMonitor monitor, java.lang.Object element, IDocument document, boolean overwrite)`

Constructors in org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.document with parameters of type IDocument
`StorageDocumentProvider.StorageInfo(IDocument document)` Creates a new storage info.
`FileDocumentProvider.FileInfo(IDocument document, FileDocumentProvider.FileSynchronizer fileSynchronizer)` Creates and returns a new file info.
`FileDiagramDocumentProvider.DiagramFileInfo(IDocument document, FileDocumentProvider.FileSynchronizer fileSynchronizer, DiagramModificationListener listener)` Creates and returns a new file info.

Runtime

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.