execute the command after having modified the inner state.
commit88437f369824beb7022dbcafa5a6ea24a7b38c3d
authorMikaël Barbero <mikael.barbero@obeo.fr>
Thu, 22 Nov 2012 23:11:51 +0000 (23 00:11 +0100)
committerMikaël Barbero <mikael.barbero@obeo.fr>
Thu, 22 Nov 2012 23:11:51 +0000 (23 00:11 +0100)
tree3b894f79ee5d15d07ee17f956553a75a0e17fbb7
parent0f2e24ea58fe2ee9309561b454e390f974463bfc
execute the command after having modified the inner state.

The listeners were notified before the inner state was updated and then
when they asked for canUndo or other state, it was giving wrong answer.
plugins/org.eclipse.emf.compare.edit/src/org/eclipse/emf/compare/command/impl/DualCompareCommandStack.java