Uses of Interface
org.eclipse.ui.texteditor.IDocumentProvider
Package
Description
Provides support for performing structural and textual
compare operations on arbitrary data and displaying the results.
Provides support for finding and displaying the differences
between hierarchically structured data.
Provides a standard text editor and concrete document providers based
IFileBuffer
and others directly handling IFile
and
IStorage
as editor input.Provides a framework for text editors obeying to the
desktop rules.
-
Uses of IDocumentProvider in org.eclipse.compare
Modifier and TypeMethodDescriptionstatic IDocumentProvider
SharedDocumentAdapter.getDocumentProvider
(IEditorInput input) Returns the document provider for the given editor input.Modifier and TypeMethodDescriptionvoid
ISharedDocumentAdapter.connect
(IDocumentProvider provider, IEditorInput documentKey) Connect the given element to its document provider.void
SharedDocumentAdapter.connect
(IDocumentProvider provider, IEditorInput documentKey) void
ISharedDocumentAdapter.disconnect
(IDocumentProvider provider, IEditorInput documentKey) Disconnect the element from the document provider.void
SharedDocumentAdapter.disconnect
(IDocumentProvider provider, IEditorInput documentKey) void
ISharedDocumentAdapter.flushDocument
(IDocumentProvider provider, IEditorInput documentKey, IDocument document, boolean overwrite) Flush the contents of the given document into the typed element that provided the document.protected void
SharedDocumentAdapter.saveDocument
(IDocumentProvider provider, IEditorInput documentKey, IDocument document, boolean overwrite, IProgressMonitor monitor) A helper method to save a document. -
Uses of IDocumentProvider in org.eclipse.compare.structuremergeviewer
Modifier and TypeMethodDescriptionvoid
SharedDocumentAdapterWrapper.connect
(IDocumentProvider provider, IEditorInput documentKey) void
SharedDocumentAdapterWrapper.disconnect
(IDocumentProvider provider, IEditorInput documentKey) void
SharedDocumentAdapterWrapper.flushDocument
(IDocumentProvider provider, IEditorInput documentKey, IDocument document, boolean overwrite) -
Uses of IDocumentProvider in org.eclipse.ui.editors.text
Modifier and TypeClassDescriptionclass
Shared document provider specialized for file resources (IFile
).class
A forwarding document provider is a document provider that forwards all requests to a known parent document provider.class
Shared document provider specialized forIStorage
s.class
Shared document provider specialized forIFile
based domain elements.protected static class
Deprecated.As of 3.3 - do not useModifier and TypeMethodDescriptionprotected final IDocumentProvider
TextFileDocumentProvider.getParentProvider()
Returns the parent document provider.Modifier and TypeMethodDescriptionfinal void
TextFileDocumentProvider.setParentDocumentProvider
(IDocumentProvider parentProvider) Sets the given parent provider as this document provider's parent document provider.void
ForwardingDocumentProvider.setParentProvider
(IDocumentProvider parentProvider) Sets the parent document provider.ModifierConstructorDescriptionForwardingDocumentProvider
(String partitioning, IDocumentSetupParticipant documentSetupParticipant, IDocumentProvider parentProvider) Creates a new forwarding document provider with a fixed parent document provider.TextFileDocumentProvider
(IDocumentProvider parentProvider) Creates a new text file document provider which has the given parent provider. -
Uses of IDocumentProvider in org.eclipse.ui.texteditor
Modifier and TypeClassDescriptionclass
An abstract implementation of a sharable document provider.Modifier and TypeMethodDescriptionAbstractDecoratedTextEditor.getDocumentProvider()
AbstractTextEditor.getDocumentProvider()
DocumentProviderRegistry.getDocumentProvider
(String extension) Returns a shared document provider for the given name extension.DocumentProviderRegistry.getDocumentProvider
(IEditorInput editorInput) Returns the shared document for the type of the given editor input.ITextEditor.getDocumentProvider()
Returns this text editor's document provider.Modifier and TypeMethodDescriptionprotected void
AbstractTextEditor.setDocumentProvider
(IDocumentProvider provider) Sets this editor's document provider.