×

System and method for extending legacy applications with undo/redo functionality

  • US 9,298,429 B2
  • Filed: 04/03/2014
  • Issued: 03/29/2016
  • Est. Priority Date: 09/28/2006
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for providing an undo functionality, comprising:

  • maintaining, by a processor, a first action identification stack that includes identifications of previously executed actions;

    providing, by the processor, a user interface that includes a first button and a second button;

    receiving, by the processor, a plurality of successive user-selections of the first button, wherein each of the user-selections is recorded by the processor as a respective undo command;

    subsequent to the receipt of all of the plurality of successive user-selections of the first button, receiving, by the processor, a user-selection of the second button; and

    responding, by the processor and to the user-selection of the second button, by (a) removing from the first action identification stack a number, that is more than one and that is selected by the processor depending on the number of the received plurality of successive user-selections of the first button, of those of the identifications of previously executed actions that have most recently been added to the first action identification stack, and (b) reinstating a prior application state corresponding to the identifications of previously executed actions remaining in the first action identification stack after the removal;

    wherein;

    no change occurs to the application state in response to any of the plurality of successive user-selections of the first button prior to the selection of the second button;

    the identifications being removed correspond to a plurality of user interface actions previously performed and targeted to be undone in response to the user-selection of the second button; and

    the reinstating of the prior application state is performed by, subsequent to the removing, re-executing, by the processor and in sequence, the actions identified by remaining identifications of the first action identification stack;

    the re-execution is performed only once for all of the plurality of user-selections of the first button;

    the sequence of actions re-executed (a) does not include the actions whose identifications have been removed from the first action identification stack, and (b) effects the prior application state; and

    none of the actions whose identifications have been removed from the first action identification stack are at any point executed based on selection of the first button.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×