Support undo/redo with custom tool? [9.3, Java]

Discussion created by bpelakh on May 26, 2010
I have a custom tool that modifies the appearance of MOLE ForceElement and TacticalGraphics (effectively editing the symbolId in the IMoleSymbol associated with the IElement). I would like to add undo/redo support to this tool.

I know this has something to do with OperationStack and IOperation objects, but would really like some sort of a tutorial/example on the subject.