Called by the framework after undo or redo action has been executed.
You can override this function in the derived class to get notified about this.