Changes between Version 1 and Version 2 of UndoManager
- Timestamp:
- Oct 23, 2014, 6:02:38 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UndoManager
v1 v2 1 1 = Undo Manager Requirements = 2 2 3 What do we want to be able to undo? Here are some possible answers:3 What do we want to be able to undo? Here are some ideas: 4 4 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.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. 6 6 7 1.Limited operations, e.g. color changes, selection changes, display style changes, model motions, but perhaps not object deletion.7 2) Limited operations, e.g. color changes, selection changes, display style changes, model motions, but perhaps not object deletion. 8 8 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.9 3) 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. 10 10 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.11 4) 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. 12 12 13 1.No undo. Let's face it, although undo is nice, it is hard to implement without impairing performance.13 5) No undo. Let's face it, although undo is nice, it is hard to implement without impairing performance. 14 14 15 1.Should there be multi-step undo, or only allow undo of the last action?15 6) Should there be multi-step undo, or only allow undo of the last action? 16 16 17 1.Do we want redo, after an undo?17 7) Do we want redo, after an undo? 18 18 19 1.Is out of order undo allowed? Can you change molecule color, then change display style, then undo just the color change?19 8) Is out of order undo allowed? Can you change molecule color, then change display style, then undo just the color change? 20 20