Class CompareCommandStack

java.lang.Object
com.google.common.collect.ForwardingObject
org.eclipse.emf.compare.command.DelegatingCommandStack
org.eclipse.emf.compare.command.impl.CompareCommandStack
All Implemented Interfaces:
CommandStack, ICompareCommandStack, IDisposable

public class CompareCommandStack extends DelegatingCommandStack implements ICompareCommandStack, IDisposable
A simple ICompareCommandStack that delegate execution to another command stack but keep informations about execution to properly reply to ICompareCommandStack protocol.

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.