java.lang.Object
com.marginallyclever.ro3.apps.UndoSystem
UndoSystem
is a singleton to manage the undo/redo history and associated AbstractAction
s.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addEvent
(AbstractUndoableEdit edit) static RedoAction
static UndoAction
static void
reset()
static void
start()
Start the undo system.
-
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
-
getCommandRedo
-
addEvent
-
reset
public static void reset()
-