IFileBufferManager.getFileBuffer(
IPath location,
LocationKind locationKind)
Returns the file buffer managed for the given location or null
if there is no such file buffer.
IFileBufferManager.getFileStoreFileBuffer(
IFileStore fileStore)
Returns the file buffer managed for the given file store or
null if there is no such file buffer.
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.
IFileBufferOperation.run(
IFileBuffer fileBuffer,
IProgressMonitor monitor)
Runs this operation, that is manipulates the content of the given file
buffer.