From Section 8.5.3 of our book:
Adding the capability for a user to undo and redo actions involves building a manager to track changes. For expediency, we’ll reuse the javax.swing.undo.UndoManager and related classes, but in reality, you’ll want to consider reviewing other existing command frameworks or creating your own.
![]() |
--- Work in progress --- |
The Eclipse team is busy consolidating several different undo frameworks that already exist within Eclipse into a single unified undo framework. For more information, see http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-ui-home/R3_1/undo-redo-proposal/undo-redo%20support.html and Bugzilla bug # 37716.