Last modified 16 years ago
Last modified on 02/17/09 00:11:27
Analysis
Overview
The PRO_LIB change manager tracks undo/redo changes made to properties.
The goal of this task is to provide an end user interface to the change manager. Add a user interface via the Edit menu for Undo and Redo. I don't think we should expose skipping, as that would be confusing to the user.
Task requirements
- Add menu items to the edit menu that tracks the state of the change manager
- Undo works down the stack
- Redo works up the stack
- Add key commands (control-z, control-shift-z for redo) to the menu items
- Disable the menu items if you are at the proper end of the stack
Task result
The result of this task is code
Implementation idea
- Look at:
- org.sophie2.core.prolib.util.UndoManager
- org.sophie2.core.prolib.events.ProChange
- See the related tasks for the APIs to talk to
Related
PRO_CHANGE_INFOS_R0 PRO_CHANGE_MANAGER_R0
How to demo
Demo the user interface for undo/redo
Design
Implementation
(Implementation results should be described and linked here (from the wiki or the repository))
Testing
Comments
(Write comments for this or later revisions here.)