Class UndoCommand
java.lang.Object
fr.istic.aco.editor.commands.UndoCommand
-
Constructor Summary
ConstructorsConstructorDescriptionUndoCommand
(UndoManager undoManager) Constructs aUndoCommand
with the specified dependencies. -
Method Summary
-
Constructor Details
-
UndoCommand
Constructs aUndoCommand
with the specified dependencies.- Parameters:
undoManager
- the undo manager for handling undo and redo functionality
-
-
Method Details
-
execute
public void execute()Executes the undo operation.This method invokes the
UndoManager.undo()
method to undo the most recent action in the text editor.
-