Example #1
0
 /**
  * ------------------------------------------------------ Undoes or Redoes this transaction. This
  * method creates a new transaction and adds it to the system-wide queue of undoable transactions.
  *
  * @param arg Mi_UNDO_COMMAND_NAME or Mi_REDO_COMMAND_NAME
  *     ------------------------------------------------------
  */
 public void processCommand(String arg) {
   if (arg.equals(Mi_UNDO_COMMAND_NAME)) processCommand(clipBoard, newContents, false);
   else processCommand(clipBoard, newContents, true);
 }