Package | Description |
---|---|
org.eclipse.core.filebuffers |
Provides the API for accessing file buffers.
|
org.eclipse.core.filebuffers.manipulation |
Provides the API for manipulating file buffers.
|
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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ITextFileBuffer
A text file buffer is a file buffer for text files.
|
Modifier and Type | Method and Description |
---|---|
IFileBuffer |
IFileBufferManager.getFileBuffer(IPath location)
Deprecated.
As of 3.3, replaced by
IFileBufferManager.getFileBuffer(IPath, LocationKind) |
IFileBuffer |
IFileBufferManager.getFileBuffer(IPath location,
LocationKind locationKind)
Returns the file buffer managed for the given location or
null
if there is no such file buffer. |
IFileBuffer[] |
IFileBufferManager.getFileBuffers()
Returns all managed file buffers that are currently connected.
|
IFileBuffer |
IFileBufferManager.getFileStoreFileBuffer(IFileStore fileStore)
Returns the file buffer managed for the given file store or
null if there is no such file buffer. |
IFileBuffer[] |
IFileBufferManager.getFileStoreFileBuffers()
Returns all managed file store file buffers that are currently connected.
|
Modifier and Type | Method and Description |
---|---|
void |
IFileBufferListener.bufferContentAboutToBeReplaced(IFileBuffer buffer)
Informs the listener about an upcoming replace of the contents of the given buffer.
|
void |
IFileBufferListener.bufferContentReplaced(IFileBuffer buffer)
Informs the listener that the buffer of the given buffer has been replaced.
|
void |
IFileBufferListener.bufferCreated(IFileBuffer buffer)
Informs the listener about the creation of the given buffer.
|
void |
IFileBufferListener.bufferDisposed(IFileBuffer buffer)
Informs the listener that the given buffer has been disposed.
|
void |
IFileBufferListener.dirtyStateChanged(IFileBuffer buffer,
boolean isDirty)
Informs the listener that the dirty state of the given buffer changed
to the specified value
|
void |
IFileBufferListener.stateChangeFailed(IFileBuffer buffer)
Informs the listener that a state changing operation on the given
file buffer failed.
|
void |
IFileBufferListener.stateChanging(IFileBuffer buffer)
Informs the listener about the start of a state changing operation on
the given buffer.
|
void |
IFileBufferListener.stateValidationChanged(IFileBuffer buffer,
boolean isStateValidated)
Informs the listener that the state validation changed to the specified value.
|
void |
IFileBufferListener.underlyingFileDeleted(IFileBuffer buffer)
Informs the listener that the file underlying the given file buffer has been deleted.
|
void |
IFileBufferListener.underlyingFileMoved(IFileBuffer buffer,
IPath path)
Informs the listener that the file underlying the given file buffer has been moved to the
given location.
|
void |
IFileBufferManager.validateState(IFileBuffer[] fileBuffers,
IProgressMonitor monitor,
Object computationContext)
Validates the state of the given file buffers and tries to bring the buffer's underlying file
into a state in which it can be modified.
|
Modifier and Type | Method and Description |
---|---|
protected void |
GenericFileBufferOperationRunner.commit(IFileBuffer[] fileBuffers,
IProgressMonitor progressMonitor) |
protected void |
FileBufferOperationRunner.commit(IFileBuffer[] fileBuffers,
IProgressMonitor progressMonitor) |
protected ISchedulingRule |
GenericFileBufferOperationRunner.computeCommitRule(IFileBuffer[] fileBuffers) |
protected void |
GenericFileBufferOperationRunner.doCommit(IFileBuffer[] fileBuffers,
IProgressMonitor progressMonitor) |
void |
IFileBufferOperation.run(IFileBuffer fileBuffer,
IProgressMonitor monitor)
Runs this operation, that is manipulates the content of the given file
buffer.
|
void |
TextFileBufferOperation.run(IFileBuffer fileBuffer,
IProgressMonitor progressMonitor) |
Modifier and Type | Method and Description |
---|---|
void |
TextFileDocumentProvider.FileBufferListener.bufferContentAboutToBeReplaced(IFileBuffer file) |
void |
TextFileDocumentProvider.FileBufferListener.bufferContentReplaced(IFileBuffer file) |
void |
TextFileDocumentProvider.FileBufferListener.bufferCreated(IFileBuffer buffer) |
void |
TextFileDocumentProvider.FileBufferListener.bufferDisposed(IFileBuffer buffer) |
void |
TextFileDocumentProvider.FileBufferListener.dirtyStateChanged(IFileBuffer file,
boolean isDirty) |
protected Iterator |
TextFileDocumentProvider.getElements(IFileBuffer file)
Returns an iterator for all the elements that are connected to this file buffer.
|
void |
TextFileDocumentProvider.FileBufferListener.stateChangeFailed(IFileBuffer file) |
void |
TextFileDocumentProvider.FileBufferListener.stateChanging(IFileBuffer file) |
void |
TextFileDocumentProvider.FileBufferListener.stateValidationChanged(IFileBuffer file,
boolean isStateValidated) |
void |
TextFileDocumentProvider.FileBufferListener.underlyingFileDeleted(IFileBuffer file) |
void |
TextFileDocumentProvider.FileBufferListener.underlyingFileMoved(IFileBuffer file,
IPath newLocation) |
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.