is there any simple method to know exactly what was undone/redone using observers?
In most cases all the observers are called, but there are some corner cases when that does not happen.
e.g. moving a ComponentInstance
- open new project
- register observers (ModelObserver, EntitiesObserver)
- move guy to a new position
–> EntitiesObserver.onElementModified (componentInstance)
so far everything seems ok
–> EntitiesObserver.onElementModified (componentDefinition)
(for better readability I skipped onElementModified for attributeDictionaries)
My question: How can I know the changes done during Undo? How can I know the changes done during Redo?
Thanks for your help,