Changes between Version 1 and Version 2 of UndoManager


Ignore:
Timestamp:
Oct 23, 2014, 6:02:38 PM (11 years ago)
Author:
Tom Goddard
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UndoManager

    v1 v2  
    11= Undo Manager Requirements =
    22
    3 What do we want to be able to undo?  Here are some possible answers:
     3What do we want to be able to undo?  Here are some ideas:
    44
    5 1. Everything.  For example, I add hydrogens, add charges, do an energy minimization, delete the hydrogens, delete chain B, then accidentally close the session.  Now I want to undo restore the session, undelete chain B, re-add the hydrogens, restore coordinates to preminimized positions, unadd the hydrogens.
     51) Everything.  For example, I add hydrogens, add charges, do an energy minimization, delete the hydrogens, delete chain B, then accidentally close the session.  Now I want to undo restore the session, undelete chain B, re-add the hydrogens, restore coordinates to preminimized positions, unadd the hydrogens.
    66
    7 1. Limited operations, e.g. color changes, selection changes, display style changes, model motions, but perhaps not object deletion.
     72) Limited operations, e.g. color changes, selection changes, display style changes, model motions, but perhaps not object deletion.
    88
    9 1. All operations of a given type or only some of that type.  For instance we could require undo for all color changes (rainbow, color by element, color by conservation, every possible way of coloring).  Or we could have undo for just some coloring operations, leaving up to each specific coloring tool to decide if undo will be supported.
     93) All operations of a given type or only some of that type.  For instance we could require undo for all color changes (rainbow, color by element, color by conservation, every possible way of coloring).  Or we could have undo for just some coloring operations, leaving up to each specific coloring tool to decide if undo will be supported.
    1010
    11 1. Minimal undo, but with a common user interface such as one menu entry that says "Undo X" where X changes to whatever the last undoable action is, for example, "Undo selection", "Undo motion". Minimal undo may be only selection and movement and maybe a few core molecule color and display style change operations.
     114) Minimal undo, but with a common user interface such as one menu entry that says "Undo X" where X changes to whatever the last undoable action is, for example, "Undo selection", "Undo motion". Minimal undo may be only selection and movement and maybe a few core molecule color and display style change operations.
    1212
    13 1. No undo.  Let's face it, although undo is nice, it is hard to implement without impairing performance.
     135) No undo.  Let's face it, although undo is nice, it is hard to implement without impairing performance.
    1414
    15 1. Should there be multi-step undo, or only allow undo of the last action?
     156) Should there be multi-step undo, or only allow undo of the last action?
    1616
    17 1. Do we want redo, after an undo?
     177) Do we want redo, after an undo?
    1818
    19 1. Is out of order undo allowed?  Can you change molecule color, then change display style, then undo just the color change?
     198) Is out of order undo allowed?  Can you change molecule color, then change display style, then undo just the color change?
    2020