java.lang.Object
com.marginallyclever.ro3.apps.UndoSystem

public class UndoSystem extends Object
UndoSystem is a singleton to manage the undo/redo history and associated AbstractActions.
  • Constructor Details

    • UndoSystem

      public UndoSystem()
  • Method Details

    • start

      public static void start()
      Start the undo system. This is called by the main frame after the menu bar is created.
    • getCommandUndo

      public static UndoAction getCommandUndo()
    • getCommandRedo

      public static RedoAction getCommandRedo()
    • addEvent

      public static void addEvent(AbstractUndoableEdit edit)
    • reset

      public static void reset()