Package org.eclipse.handly.buffer
Interface IBufferListener
public interface IBufferListener
Interface for listeners to buffer state changes.
- Since:
- 1.4
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBit-mask indicating that thebufferSavedmethod is supported by the buffer. -
Method Summary
Modifier and TypeMethodDescriptiondefault voidbufferSaved(IBuffer buffer) Informs this listener that the contents of the given buffer has been saved.
-
Field Details
-
BUFFER_SAVED
static final int BUFFER_SAVEDBit-mask indicating that thebufferSavedmethod is supported by the buffer.- See Also:
-
-
Method Details
-
bufferSaved
Informs this listener that the contents of the given buffer has been saved.Note that this method is not invoked if the buffer's dirty flag is cleared for reasons other than saving the buffer's contents.
In general, the buffer may be modified concurrently with calling this method.
- Parameters:
buffer- the affected buffer (nevernull)
-