Class BufferManager
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.BufferManager
The buffer manager manages the set of open buffers.
It implements an LRU cache of buffers.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static BufferManagerprotected IBufferFactoryDeprecated.protected static boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidAdds a buffer to the table of open buffers.static IBuffercreateBuffer(IOpenable owner) static IBuffercreateNullBuffer(IOpenable owner) Returns the open buffer associated with the given owner, ornullif the owner does not have an open buffer associated with it.Deprecated.static BufferManagerReturns the default buffer manager.Returns an enumeration of all open buffers.protected voidremoveBuffer(IBuffer buffer) Removes a buffer from the table of open buffers.
-
Field Details
-
DEFAULT_BUFFER_MANAGER
-
VERBOSE
protected static boolean VERBOSE -
defaultBufferFactory
Deprecated.
-
-
Constructor Details
-
BufferManager
public BufferManager()
-
-
Method Details
-
addBuffer
Adds a buffer to the table of open buffers. -
createBuffer
-
createNullBuffer
-
getBuffer
-
getDefaultBufferManager
Returns the default buffer manager. -
getDefaultBufferFactory
-
getOpenBuffers
Returns an enumeration of all open buffers.The
Enumerationanswered is thread safe.- Returns:
- Enumeration of IBuffer
- See Also:
-
removeBuffer
Removes a buffer from the table of open buffers.
-