Despite the interface was introduced for the new UndoHelper, it is easy to perform same actions (preAction, postAction) by just using normal flow:
- PreAction code can be simply moved before the undo instantiation.
- As well as PostAction code can be performed after the undo instantiation.
Execution flow is preserved. So, no need of this callback interface.
Despite the interface was introduced for the new
UndoHelper, it is easy to perform same actions (preAction, postAction) by just using normal flow:Execution flow is preserved. So, no need of this callback interface.