Package | Description |
---|---|
org.eclipse.compare |
Provides support for performing structural and textual
compare operations on arbitrary data and displaying the results.
|
org.eclipse.compare.structuremergeviewer |
Provides support for finding and displaying the differences
between hierarchically structured data.
|
org.eclipse.ui.editors.text |
Provides a standard text editor and concrete document providers based
IFileBuffer and others directly handling IFile and
IStorage as editor input.
|
org.eclipse.ui.texteditor |
Provides a framework for text editors obeying to the
desktop rules.
|
Modifier and Type | Method and Description |
---|---|
static IDocumentProvider |
SharedDocumentAdapter.getDocumentProvider(IEditorInput input)
Return the document provider for the given editor input.
|
Modifier and Type | Method and Description |
---|---|
void |
SharedDocumentAdapter.connect(IDocumentProvider provider,
IEditorInput documentKey) |
void |
ISharedDocumentAdapter.connect(IDocumentProvider provider,
IEditorInput documentKey)
Connect the given element to its document provider.
|
void |
SharedDocumentAdapter.disconnect(IDocumentProvider provider,
IEditorInput documentKey) |
void |
ISharedDocumentAdapter.disconnect(IDocumentProvider provider,
IEditorInput documentKey)
Disconnect the element from the document provider.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
SharedDocumentAdapterWrapper.connect(IDocumentProvider provider,
IEditorInput documentKey) |
void |
SharedDocumentAdapterWrapper.disconnect(IDocumentProvider provider,
IEditorInput documentKey) |
void |
SharedDocumentAdapterWrapper.flushDocument(IDocumentProvider provider,
IEditorInput documentKey,
IDocument document,
boolean overwrite) |
Modifier and Type | Class and Description |
---|---|
class |
FileDocumentProvider
Shared document provider specialized for file resources (
IFile ). |
class |
ForwardingDocumentProvider
A forwarding document provider is a document provider that forwards all requests
to a known parent document provider.
|
class |
StorageDocumentProvider
Shared document provider specialized for
IStorage s. |
class |
TextFileDocumentProvider
Shared document provider specialized for
IFile based domain elements. |
protected static class |
TextFileDocumentProvider.NullProvider
Deprecated.
As of 3.3 - do not use
|
Modifier and Type | Method and Description |
---|---|
protected IDocumentProvider |
TextFileDocumentProvider.getParentProvider()
Returns the parent document provider.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
ForwardingDocumentProvider(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.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDocumentProvider
An abstract implementation of a sharable document provider.
|
Modifier and Type | Method and Description |
---|---|
IDocumentProvider |
ITextEditor.getDocumentProvider()
Returns this text editor's document provider.
|
IDocumentProvider |
AbstractTextEditor.getDocumentProvider() |
IDocumentProvider |
AbstractDecoratedTextEditor.getDocumentProvider() |
IDocumentProvider |
DocumentProviderRegistry.getDocumentProvider(IEditorInput editorInput)
Returns the shared document for the type of the given editor input.
|
IDocumentProvider |
DocumentProviderRegistry.getDocumentProvider(String extension)
Returns a shared document provider for the given name extension.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractTextEditor.setDocumentProvider(IDocumentProvider provider)
Sets this editor's document provider.
|
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.