Package ro.sync.ecss.extensions.api
Interface CompoundEditListener
-
- All Known Subinterfaces:
AuthorListener
- All Known Implementing Classes:
AuthorListenerAdapter
@API(type=EXTENDABLE, src=PUBLIC) public interface CompoundEditListener
Listener notified when compound edits are started and ended.- Since:
- 23
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
beforeCompoundEditCancelled()
Called before a compound edit is cancelled.default void
compoundEditCancelled()
Called when a compound edit was cancelled.default void
compoundEditEnded()
Called when a compound edit was ended.default void
compoundEditStarted()
Called when a compound edit was started.
-
-
-
Method Detail
-
compoundEditStarted
default void compoundEditStarted()
Called when a compound edit was started. A compound edit can be started by callingAuthorDocumentController.beginCompoundEdit()
. Note that this callback will not be invoked for nested calls ofAuthorDocumentController.beginCompoundEdit()
, but only for the first one.
-
compoundEditEnded
default void compoundEditEnded()
Called when a compound edit was ended. A compound edit can be ended by callingAuthorDocumentController.endCompoundEdit()
. Note that this callback will not be invoked for nested calls ofAuthorDocumentController.endCompoundEdit()
, but only for the last one.
-
compoundEditCancelled
default void compoundEditCancelled()
Called when a compound edit was cancelled. A compound edit can be cancelled by callingAuthorDocumentController.cancelCompoundEdit()
. When a compound edit is cancelled, the edits performed so far are automatically undone before this callback is invoked. After that, ancompoundEditEnded()
call is also received.
-
beforeCompoundEditCancelled
default void beforeCompoundEditCancelled()
Called before a compound edit is cancelled. A compound edit can be cancelled by callingAuthorDocumentController.cancelCompoundEdit()
. When a compound edit is cancelled, the edits performed so far are automatically undone before this callback is invoked. After that, ancompoundEditEnded()
call is also received.- Since:
- 23.1
-
-