TASK_INDEX
PRO_CHANGE_MERGING_R0
INTERACTIVITY_COMMONS_R0
PRO_CHANGE_PRIMITIVES_R0
CORE_CHANGES
BASE_MODEL_TEXTS_R0
PRO_CHANGE_INFOS_R0
PRO_CHANGE_COMMONS_R0
PRO_CHANGE_SCOPING_R0
PRO_CHANGE_REVISION_ACCESS_R0
GROUP_BASE_MODEL_TEXT_R0
| Ticket | Summary | Owner | Status | Type | Component | Priority | Effort | Importance |
|---|---|---|---|---|---|---|---|---|
| #155 | PRO_CHANGE_UNDO_MANAGER_R0 | gogov | closed | planned_task | PRO_LIB_ENTITIES | 3 | 1 | 25 |
| Description |
wiki page: PRO_CHANGE_UNDO_MANAGER_R0 - effort: 1d |
|||||||
| Analysis_owners |
sriggins,gogov |
|||||||
| Analysis_reviewers |
gogov |
|||||||
| Analysis_score |
2 |
|||||||
| Design_owners |
meddle |
|||||||
| Design_score |
0 |
|||||||
| Imp._owners |
meddle |
|||||||
| Imp._score |
0 |
|||||||
| Test_score |
0 |
|||||||
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.)
