# Package org.eclipse.core.filebuffers

package org.eclipse.core.filebuffers

Provides the API for accessing file buffers.

## Package Specification

File buffers represent a file that is being edited. Text file buffers are specific for text files. They represent the content of a text file in form of an `IDocument` and and associated `IAnnotationModel`. File buffers are managed by a file buffer manager. The `org.eclipse.core.filebuffers` plug-in provides a default file buffer manager that can be obtained by calling `FileBuffers.getTextFileBufferManager()`. The file buffer manager supports listeners, `IFileBufferListener`, that are informed about all relevant state changes of file buffers as well as their creation and disposal.

Related Packages
Package
Description
org.eclipse.core.filebuffers.manipulation
Provides the API for manipulating file buffers.
Class
Description
FileBuffers
Facade for the file buffers plug-in.
IAnnotationModelFactory
Factory for text file buffer annotation models.
IDocumentFactory
Deprecated.
As of 3.2 the `"org.eclipse.core.filebuffers.documentCreation"` extension point has been deprecated.
IDocumentSetupParticipant
Participates in the setup of a text file buffer document.
IDocumentSetupParticipantExtension
Extension interface for `IDocumentSetupParticipant`.
IFileBuffer
A file buffer represents a file that can be edited by more than one client.
IFileBufferListener
Interface for listeners to file buffer changes.
IFileBufferManager
A file buffer manager manages file buffers for files while the files are connected to the file buffer manager.
IFileBufferStatusCodes
This interface provides the list of status codes that are used by the file buffer plug-in when it throws `CoreException`.
IPersistableAnnotationModel
Tagging interface for `IAnnotationModel` implementers that offer state persistence.
IStateValidationSupport
Implementers of `IFileBuffer` may also implement `IStateValidationSupport` in order to allow a `IFileBufferManager` to batch the stages of state validation when calling `IFileBufferManager.validateState(IFileBuffer[], org.eclipse.core.runtime.IProgressMonitor, Object)`.
ISynchronizationContext
A file buffer manager (see `IFileBufferManager`) uses an `ISynchronizationContext` in order to execute commands encapsulated as `Runnable`.
ITextFileBuffer
A text file buffer is a file buffer for text files.
ITextFileBufferManager
A text file buffer manager manages text file buffers for files whose contents is considered text.
LocationKind
Type-safe enum of the available location kinds.