Class TransactionalDualCompareCommandStack

java.lang.Object
org.eclipse.emf.compare.command.impl.TransactionalDualCompareCommandStack
All Implemented Interfaces:
CommandStack, ICompareCommandStack, IDisposable

public class TransactionalDualCompareCommandStack extends Object implements ICompareCommandStack, IDisposable
ICompareCommandStack implementation that will delegate to two given command stacks; one for each side of the comparison.

This implementation is one of the most robust delegating implementation we can do. If an error occurs during execution of a command, only the dirty state will be reset, all models will stay correct.