Exemplo n.º 1
0
 public void undo() {
   newTarget.removeInput(transition);
   transition.setTarget(oldTarget);
   oldTarget.addInput(transition);
 }
Exemplo n.º 2
0
 public void execute() {
   oldTarget.removeInput(transition);
   transition.setTarget(newTarget);
   newTarget.addInput(transition);
 }