org.eclipse.emf.emfstore.internal.client.transaction
Class EMFStoreTransactionalCommandStack

java.lang.Object
  extended by org.eclipse.emf.common.command.BasicCommandStack
      extended by org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack
          extended by org.eclipse.emf.transaction.impl.TransactionalCommandStackImpl
              extended by org.eclipse.emf.emfstore.internal.client.transaction.AbstractEMFStoreTransactionalCommandStackImpl
                  extended by 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

Constructor Summary
EMFStoreTransactionalCommandStack()
          Default Constructor.
 
Method Summary
 void addCommandStackObserver(ESCommandObserver observer)
          Add a command stack observer.
 void execute(org.eclipse.emf.common.command.Command command)
           
 void removeCommandStackObserver(ESCommandObserver observer)
          Remove COmmand stack observer.
 
Methods inherited from class org.eclipse.emf.emfstore.internal.client.transaction.AbstractEMFStoreTransactionalCommandStackImpl
redo, undo
 
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 class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.common.command.CommandStack
addCommandStackListener, canUndo, flush, getMostRecentCommand, getRedoCommand, getUndoCommand, removeCommandStackListener
 

Constructor Detail

EMFStoreTransactionalCommandStack

public EMFStoreTransactionalCommandStack()
Default Constructor.

Method Detail

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.