# Uses of Interface
org.eclipse.core.filebuffers.IFileBuffer

Packages that use IFileBuffer
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.

## Uses of IFileBuffer in org.eclipse.core.filebuffers

Subinterfaces of IFileBuffer in org.eclipse.core.filebuffers
Modifier and Type
Interface
Description
`interface`
`ITextFileBuffer`
A text file buffer is a file buffer for text files.
Methods in org.eclipse.core.filebuffers that return IFileBuffer
Modifier and Type
Method
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.
Methods in org.eclipse.core.filebuffers with parameters of type IFileBuffer
Modifier and Type
Method
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.

## Uses of IFileBuffer in org.eclipse.core.filebuffers.manipulation

Methods in org.eclipse.core.filebuffers.manipulation with parameters of type IFileBuffer
Modifier and Type
Method
Description
`protected void`
FileBufferOperationRunner.`commit(IFileBuffer[] fileBuffers, IProgressMonitor progressMonitor)`
`protected void`
GenericFileBufferOperationRunner.`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)`

## Uses of IFileBuffer in org.eclipse.ui.editors.text

Methods in org.eclipse.ui.editors.text with parameters of type IFileBuffer
Modifier and Type
Method
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<Object>`
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)`