Uses of Class
org.eclipse.core.filebuffers.LocationKind
Package
Description
Provides the API for accessing file buffers.
Provides a standard text editor and concrete document providers based
IFileBuffer
and others directly handling IFile
and
IStorage
as editor input.-
Uses of LocationKind in org.eclipse.core.filebuffers
Modifier and TypeFieldDescriptionstatic final LocationKind
LocationKind.IFILE
The corresponding argument is the full path of anIFile
.static final LocationKind
LocationKind.LOCATION
The corresponding argument is a location in a file system.static final LocationKind
LocationKind.NORMALIZE
Tells to normalize the corresponding argument according toFileBuffers.normalizeLocation(IPath)
.Modifier and TypeMethodDescriptionvoid
IFileBufferManager.connect
(IPath location, LocationKind locationKind, IProgressMonitor monitor) Connects the file at the given location to this manager.ITextFileBufferManager.createAnnotationModel
(IPath location, LocationKind locationKind) Creates a new annotation for the given location.ITextFileBufferManager.createEmptyDocument
(IPath location, LocationKind locationKind) Creates a new empty document.void
IFileBufferManager.disconnect
(IPath location, LocationKind locationKind, IProgressMonitor monitor) Disconnects the file at the given location from this manager.IFileBufferManager.getFileBuffer
(IPath location, LocationKind locationKind) Returns the file buffer managed for the given location ornull
if there is no such file buffer.ITextFileBufferManager.getTextFileBuffer
(IPath location, LocationKind locationKind) Returns the text file buffer managed for the file at the given location ornull
if there is no such text file buffer.void
IDocumentSetupParticipantExtension.setup
(IDocument document, IPath location, LocationKind locationKind) Sets up the document to be ready for use by a text file buffer. -
Uses of LocationKind in org.eclipse.ui.editors.text
Modifier and TypeFieldDescriptionTextFileDocumentProvider.FileInfo.fTextFileBufferLocationKind
The file buffer location kind.