Class DualCompareCommandStack

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

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

This implementation is not robust. If an error occurs during execution of a command, the whole state will be corrupted and the undo/redo may have an unknown behavior.