Jan Krakora Messages: 472 Registered: December 2009 Location: Prague
Well, that's a different story.
You will have to do it in another way. Maybe don't get dirty state from the CommandStack.isDirty() but use the CommandStackEventListener somehow.
It will tell you what command is executed/redoed/undoed, so you could copy the CommandStack implementation to your own and use it for returning the dirty state.
thank you for your post! That works ... but for me it sounds more like and hack, because I must distribute the functionality of the CommandStack over my application if I want to extend the functionality of the stack.