undo method

void undo()

Reverse the effects of the #transactionToUndo. #canUndo must be true for this method to have any effect.

This is called by CommandHandler#undo.

This will raise a "StartingUndo" ChangedEvent of type ChangedEvent.Transaction, perform the Transaction#undo on the #transactionToUndo, and then raise a "FinishedUndo" ChangedEvent of type ChangedEvent.Transaction. The two ChangedEvents are to let model listeners know that an undo is about to take place and that it just finished. #isUndoingRedoing will temporarily be set to true during this operation.

Implementation

void undo() {
  _i4.callMethod(
    this,
    'undo',
    [],
  );
}