6768697071727374
undoStack.add(action); } else if (type == UndoRedoType.REDO) { redoStack.add(action); } UndoActionMessage msg = new UndoActionMessage(this, action, type); Mediator.getInstance().getUndoActionNotifier().notifyListeners(msg); }