Undoing user actions in a client program
First Claim
1. A computer program product, tangibly embodied on a machine-readable storage device, the computer program product comprising instructions operable to cause a data processing apparatus to perform a method, the method comprising:
- displaying a graphical user interface in a client program, the graphical user interface having a plurality of graphical user interface elements, the plurality of graphical user interface elements having data structures indicating a data state corresponding to data content of the plurality of graphical user interface elements and a view state corresponding to a visual configuration of the plurality of graphical user interface elements;
storing the data state and the view state of at least one of the plurality of graphical user interface elements as a first state for the at least one graphical user interface element in a data structure corresponding to the at least one graphical user interface element;
receiving user input from a user comprising a change to the data state and the view state of the at least one graphical user interface element;
updating the data state and the view state of the at least one graphical user interface element based on the received user input;
storing the updated data state and view state of the at least one graphical user interface element as a second state for the at least one graphical user interface element in the data structure corresponding to the at least one graphical user interface element;
receiving undo scope setting information associated with the at least one graphical user interface element;
receiving user input from a user comprising a request to undo the change to the at least one graphical user interface element;
determining whether the undo scope setting information indicates the data state, the view state, or both the data state and the view state;
when the undo scope setting information is determined to indicate the data state, performing the undo request by restoring only the data state of the at least one graphical user interface element to reflect the first state;
when the undo scope setting information is determined to indicate the view state, performing the undo request by restoring only the view state of the at least one graphical user interface element to reflect the first state; and
when the undo scope setting information is determined to indicate both the data state and the view state, performing the undo operation by restoring both the data state and the view state for the at least one graphical user interface element to reflect the first state.
3 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatus, including computer program products, implementing techniques for undoing user actions in a client program. The techniques include displaying a user interface in a client program, the user interface having a plurality of controls, the plurality of controls including multiple types of controls, each control having a state; for each control in the plurality of controls, storing the state of the control as a first state for the control; receiving user input comprising a change to the state of a control in the plurality of controls; updating the state of the control based on the user input; storing the updated state of the control as a second state for the control; receiving user input comprising a request to undo the change; and restoring the state of the control to reflect the first state for the control.
42 Citations
11 Claims
-
1. A computer program product, tangibly embodied on a machine-readable storage device, the computer program product comprising instructions operable to cause a data processing apparatus to perform a method, the method comprising:
-
displaying a graphical user interface in a client program, the graphical user interface having a plurality of graphical user interface elements, the plurality of graphical user interface elements having data structures indicating a data state corresponding to data content of the plurality of graphical user interface elements and a view state corresponding to a visual configuration of the plurality of graphical user interface elements; storing the data state and the view state of at least one of the plurality of graphical user interface elements as a first state for the at least one graphical user interface element in a data structure corresponding to the at least one graphical user interface element; receiving user input from a user comprising a change to the data state and the view state of the at least one graphical user interface element; updating the data state and the view state of the at least one graphical user interface element based on the received user input; storing the updated data state and view state of the at least one graphical user interface element as a second state for the at least one graphical user interface element in the data structure corresponding to the at least one graphical user interface element; receiving undo scope setting information associated with the at least one graphical user interface element; receiving user input from a user comprising a request to undo the change to the at least one graphical user interface element; determining whether the undo scope setting information indicates the data state, the view state, or both the data state and the view state; when the undo scope setting information is determined to indicate the data state, performing the undo request by restoring only the data state of the at least one graphical user interface element to reflect the first state; when the undo scope setting information is determined to indicate the view state, performing the undo request by restoring only the view state of the at least one graphical user interface element to reflect the first state; and when the undo scope setting information is determined to indicate both the data state and the view state, performing the undo operation by restoring both the data state and the view state for the at least one graphical user interface element to reflect the first state. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer program product, tangibly embodied on a machine-readable storage device, the computer program product comprising instructions operable to cause a data processing apparatus to perform a method, the method comprising:
-
generating a plurality of data structures that store application data and associations between the application data and a plurality of graphical user interface elements associated with an application, the plurality of graphical user interface elements having data structures indicating a data state corresponding to data content of the plurality of graphical user interface elements and a view state corresponding to a visual configuration of the plurality of graphical user interface elements, wherein the plurality of graphical user interface elements are rendered based on the application data; detecting that the data state and the view state of a first graphical user interface element of the plurality of graphical user interface elements has changed from an initial state to a new state; recording the initial state of the first graphical user interface element in a data structure associated with the first graphical user interface element; recording the new state of the first graphical user interface element in the data structure associated with the first graphical user interface element; receiving undo scope setting information associated with the first graphical user interface element; receiving user input from a user requesting that an undo operation be performed on the first graphical user interface element; determining whether the undo scope setting information indicates the data state, the view state, or both the data state and the view state; when the undo scope setting information indicates the data state, performing the undo operation by restoring only the data state of the first graphical user interface element to the first initial state; when the undo scope setting information indicates the view state, performing the undo operation by restoring only the view state of the first graphical user interface element to the initial state; and when the undo scope setting information indicates both the data state and the view state, restoring both the data state and the view state of the first graphical user interface element to the initial state. - View Dependent Claims (7, 8, 9, 10)
-
-
11. An apparatus comprising:
-
means for displaying a graphical user interface in a client program, the graphical user interface having a plurality of graphical user interface elements, the plurality of graphical user interface elements having data structure structures indicating a data state corresponding to data content of the plurality of graphical user interface elements and a view state corresponding to a visual configuration of the plurality of graphical user interface elements; means for storing, in a data structure associated with a first graphical user interface element of the plurality of graphical user interface elements, the data state and the view state of the first graphical user interface element as a first state for the first graphical user interface element; means for receiving user input from a user comprising a change to the data state and the view state of the first graphical user interface element; means for updating the changed data state and view state of the first graphical user interface element based on the received user input; means for storing the updated data state and view state of the first graphical user interface element as a second state for the first graphical user interface element in the data structure associated with the first graphical user interface element; means for receiving undo scope setting information associated with the first graphical user interface element; means for receiving user input from a user comprising a request to undo the change to the first graphical user interface element; means for determining whether the undo scope setting information indicates the data state, the view state, or both the data state and the view state; means for, when it is determined that the undo scope setting information indicates the data state, performing the undo request by restoring only the data state of the first graphical user interface element to reflect the first state; means for, when it is determined that the undo scope setting information indicates the view state, performing the undo request by restoring only the view state of the first graphical user interface element to reflect the first state; and means for, when it is determined that the undo scope setting information indicates both the data state and the view state, performing the undo request by restoring both the data state and the view state of the first graphical user interface element to reflect the first state.
-
Specification