Пример #1
0
 public void execute() {
   try {
     b.moveDeveloper();
     try {
       APUsed = b.useDevMoveAP();
     } catch (Exception e) {
       b.unMoveDeveloper();
       save = false;
       b.sendErrorMessage(e.toString());
       b.render();
     }
   } catch (Exception e) {
     save = false;
     b.sendErrorMessage(e.toString());
     b.render();
   }
 }
Пример #2
0
 public void undo() {
   b.unuseDevMoveAP();
   b.unMoveDeveloper();
 }