# Package org.eclipse.core.filebuffers

Provides the API for accessing file buffers.

See: Description

Interface Summary
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.

Class Summary
FileBuffers: Facade for the file buffers plug-in.
LocationKind: Type-safe enum of the available location kinds.

## Package org.eclipse.core.filebuffers Description

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.