Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4135408

Should be able to suppress undo/redo temporarily

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P5 P5
    • None
    • 1.2.0
    • client-libs
    • Fix Understood
    • generic
    • generic

      It would be nice if undo/redo functionality could be temporarily suppressed for a given set of operations, and later restored. Any framework that supports undo/redo should allow for this, regardless of whether an UndoManager is available.

      UndoManager available && !suppressed -> do undo/redo
      UndoManager !available && !suppressed -> no undo/redo
      UndoManager available && suppressed -> no undo/redo
      UndoManager !available && suppressed -> no undo/redo

      The implementation should be based on a counter rather than a flag, so it
      allows for nested, balanced calls to suppressUndo() and restoreUndo().

      The Quantum Engine API provides this functionality through the interfaces
      appended below, but I'm afraid it has not been tested much.

            peterz Peter Zhelezniakov
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: