Package ch.rakudave.jnetmap.controller.command

Examples of ch.rakudave.jnetmap.controller.command.CommandHistory.undo()


    return new AbstractAction(Lang.getNoHTML("menu.undo"), Icons.get("undo")) {
      @Override
      public void actionPerformed(ActionEvent e) {
        CommandHistory history = Controller.getCurrentMap().getHistory();
        try {
          history.undo();
        } catch (Exception ex) {
          Logger.error("An error occured during the last 'undo'", ex);
        }
      }
    };
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.