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.
-
Interface Summary Interface Description 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 forIDocumentSetupParticipant
.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 throwsCoreException
.IPersistableAnnotationModel Tagging interface forIAnnotationModel
implementers that offer state persistence.IStateValidationSupport Implementers ofIFileBuffer
may also implementIStateValidationSupport
in order to allow aIFileBufferManager
to batch the stages of state validation when callingIFileBufferManager.validateState(IFileBuffer[], org.eclipse.core.runtime.IProgressMonitor, Object)
.ISynchronizationContext A file buffer manager (seeIFileBufferManager
) uses anISynchronizationContext
in order to execute commands encapsulated asRunnable
.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 Class Description FileBuffers Facade for the file buffers plug-in.LocationKind Type-safe enum of the available location kinds.