Package org.eclipse.handly.buffer
Interface IBufferListener
-
public interface IBufferListenerInterface for listeners to buffer state changes.- Since:
- 1.4
- See Also:
IBuffer
-
-
Field Summary
Fields Modifier and Type Field Description static intBUFFER_SAVEDBit-mask indicating that thebufferSavedmethod is supported by the buffer.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidbufferSaved(IBuffer buffer)Informs this listener that the contents of the given buffer has been saved.
-
-
-
Field Detail
-
BUFFER_SAVED
static final int BUFFER_SAVED
Bit-mask indicating that thebufferSavedmethod is supported by the buffer.
-
-
Method Detail
-
bufferSaved
default void bufferSaved(IBuffer buffer)
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)
-
-