Archive for the ‘Algorithm’ Category

Undo/Redo – A Manager

Wednesday, January 7th, 2009

Now you know better than to use confirmation dialogs, and you know the basics behind creating an unlimited undo/redo system.? All that is left is the implementation.? Fortunately there is very little to implementing an undo/redo manager.

In reality, it only requires two classes.? The first class is the interface that defines how you will execute and reverse an action:

Code In Review is proudly powered by WordPress
Entries (RSS) and Comments (RSS).