Changes between Version 5 and Version 6 of PRO_CHANGE_UNDO_MANAGER_R0


Ignore:
Timestamp:
02/17/09 00:11:27 (16 years ago)
Author:
sriggins
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PRO_CHANGE_UNDO_MANAGER_R0

    v5 v6  
    88 
    99== Overview == 
    10 The PRO_LIB needs to be able to track and undo/redo changes made to properties.  I believe these are called "auto properties"  You will need to write a module, or modify the existing undo manager, that can be used when auto properties are indeed changed. 
     10The PRO_LIB change manager tracks undo/redo changes made to properties.   
    1111 
    12 Grouping is also important, because changing one property may cascade and change 12 others.  This task needs to track this and make sure it is undoable. 
    13  
    14 This task also needs to document the undo manager so that others use it properly. 
    15  
    16 Also consider the need to merge change sets.  This would be applicable in, for example, a collaborative environment.  Whatever sets come out of the grouping requirement, determine if those change sets are able to be merged, or if this is an impossible task for now. 
     12The 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. 
    1713 
    1814== Task requirements == 
    1915 
    20  * Evaluate the current undo mechanism in PRO_LIB 
    21  * Add the ability to undo/redo auto property changes 
    22  * Add the ability to group changes 
    23  * Evaluate the ability to merge change sets 
     16 * Add  menu items to the edit menu that tracks the state of the change manager 
     17  * Undo works down the stack 
     18  * Redo works up the stack 
     19 * Add key commands (control-z, control-shift-z for redo) to the menu items 
     20 * Disable the menu items if you are at the proper end of the stack 
    2421 
    2522== Task result == 
    2623 
    27 A module that adds change set management to PRO_LIB. 
     24The result of this task is code 
    2825 
    2926== Implementation idea == 
     
    3128   * org.sophie2.core.prolib.util.UndoManager 
    3229   * org.sophie2.core.prolib.events.ProChange 
     30 * See the related tasks for the APIs to talk to 
    3331 
    3432== Related == 
     
    3937== How to demo == 
    4038 
    41  Demo actions that use change the values of auto properties and then undoing them. 
     39 Demo the user interface for undo/redo 
    4240 
    4341= Design =