org.eclipse.emf.emfstore.internal.client.transaction
Class EMFStoreTransactionalCommandStack
java.lang.Object
org.eclipse.emf.common.command.BasicCommandStack
org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack
org.eclipse.emf.transaction.impl.TransactionalCommandStackImpl
org.eclipse.emf.emfstore.internal.client.transaction.AbstractEMFStoreTransactionalCommandStackImpl
org.eclipse.emf.emfstore.internal.client.transaction.EMFStoreTransactionalCommandStack
- All Implemented Interfaces:
- org.eclipse.emf.common.command.CommandStack, ESCommandStack, org.eclipse.emf.transaction.impl.InternalTransactionalCommandStack, org.eclipse.emf.transaction.TransactionalCommandStack
public class EMFStoreTransactionalCommandStack
- extends AbstractEMFStoreTransactionalCommandStackImpl
- implements ESCommandStack
Command Stack with additional support for command listing.
- Author:
- koegel
Methods inherited from class org.eclipse.emf.transaction.impl.TransactionalCommandStackImpl |
canRedo, createTransaction, dispose, executeTriggers |
Methods inherited from class org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack |
execute, getDomain, getExceptionHandler, makeTriggerTransactionOptions, setEditingDomain, setExceptionHandler |
Methods inherited from class org.eclipse.emf.common.command.BasicCommandStack |
addCommandStackListener, canUndo, flush, getMostRecentCommand, getRedoCommand, getUndoCommand, isSaveNeeded, removeCommandStackListener, saveIsDone |
Methods inherited from interface org.eclipse.emf.common.command.CommandStack |
addCommandStackListener, canUndo, flush, getMostRecentCommand, getRedoCommand, getUndoCommand, removeCommandStackListener |
EMFStoreTransactionalCommandStack
public EMFStoreTransactionalCommandStack()
- Default Constructor.
execute
public void execute(org.eclipse.emf.common.command.Command command)
- Specified by:
execute
in interface org.eclipse.emf.common.command.CommandStack
- Overrides:
execute
in class org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack
addCommandStackObserver
public void addCommandStackObserver(ESCommandObserver observer)
- Add a command stack observer.
- Specified by:
addCommandStackObserver
in interface ESCommandStack
- Parameters:
observer
- the observer- See Also:
ESCommandStack.addCommandStackObserver(org.eclipse.emf.emfstore.client.changetracking.ESCommandObserver)
removeCommandStackObserver
public void removeCommandStackObserver(ESCommandObserver observer)
- Remove COmmand stack observer.
- Specified by:
removeCommandStackObserver
in interface ESCommandStack
- Parameters:
observer
- the observer- See Also:
ESCommandStack.removeCommandStackObserver(org.eclipse.emf.emfstore.client.changetracking.ESCommandObserver)
Copyright © 2015. All Rights Reserved.