- All Implemented Interfaces:
- UndoableCommand
public abstract class UndoableWithSideEffects
extends java.lang.Object
implements UndoableCommand
This handles an annoying case in undo-land. If one undo object, during its
redo or undo procedure, causes other undos to be added to the stack, we have
to manage them properly so that they get bundled together as a single
undo/redo event from the user's perspective. I feel like there should be a
better way to handle this, but can't imagine what at the moment. An
implementation involving a hierarchical stack context seems likely, but could
prove complicated.
- Author:
- Paul Reavis Copyright 2005 Partner Software, Inc.