The 'Undo' feature is implemented by at least 22
methods [.
show/hide]
This feature provides 'Undoing' functionality for 'Select All Command', 'Connected Text Tool', etc.
The implementation of the Undo feature highly depends on the following code element(s):
All of the methods involved in implementing 'Undo':
org.jhotdraw.util.UndoableAdapter.undo()org.jhotdraw.util.Undoable.undo().org.jhotdraw.util.Undoable.redo()org.jhotdraw.util.UndoableAdapter.redo()All but one of the methods involved in implementing 'Undo':
org.jhotdraw.util.UndoableAdapter.undo()org.jhotdraw.util.UndoableAdapterorg.jhotdraw.util.UndoableAdapter.UndoableAdapter(DrawingView)org.jhotdraw.util.UndoableAdapter.setRedoable(boolean)org.jhotdraw.util.UndoableAdapter.setUndoable(boolean)All but one of the methods involved in implementing 'Undo':
More than 2/3 of the methods appear with a method which calls one or more of the following methods:
org.jhotdraw.framework.FigureEnumeration.nextFigure()org.jhotdraw.util.UndoableAdapter.getAffectedFigures()org.jhotdraw.framework.FigureEnumeration.hasNextFigure()org.jhotdraw.util.UndoableAdapter.isRedoable()Around half of the methods call one or more of the following methods: