org.eclipse.emf.transaction.impl
Class TriggerCommandTransaction
java.lang.Object
   org.eclipse.emf.transaction.impl.TransactionImpl
org.eclipse.emf.transaction.impl.TransactionImpl
       org.eclipse.emf.transaction.impl.EMFCommandTransaction
org.eclipse.emf.transaction.impl.EMFCommandTransaction
           org.eclipse.emf.transaction.impl.TriggerCommandTransaction
org.eclipse.emf.transaction.impl.TriggerCommandTransaction
- All Implemented Interfaces: 
- InternalTransaction, Transaction
- public class TriggerCommandTransaction 
- extends EMFCommandTransaction
A transaction implementation used by the command stack to wrap the execution
 of TriggerCommands, to provide them the write access that they need.
 This transaction does not propagate its change description to the parent,
 because that is handled separately via CommandChangeDescriptions.
 
 
 
 
| Method Summary | 
|  void | addTriggers(TriggerCommand triggers)Overrides the inherited implementation to simply propagate triggers to
 my parent, because it's the transaction that the outside world can see.
 | 
| protected  void | close()Extends the inherited implementation by first clearing my change
 description, so that I will not propagate these changes upwards.
 | 
 
 
| Methods inherited from class org.eclipse.emf.transaction.impl.TransactionImpl | 
| abort, add, collectsNotifications, commit, endPrivileged, getChangeDescription, getDefaultOptions, getEditingDomain, getInternalDomain, getNotifications, getOptions, getOwner, getParent, getRoot, getStatus, getTriggers, hasOption, isAborted, isActive, isNotificationEnabled, isReadOnly, isRollingBack, isTriggerEnabled, isUndoEnabled, isUnprotected, isValidationEnabled, pause, resume, rollback, setParent, setStatus, start, startPrivileged, toString, validate, yield | 
 
 
TriggerCommandTransaction
public TriggerCommandTransaction(TriggerCommand command,
                                 InternalTransactionalEditingDomain domain,
                                 Map<?,?> options)
- Initializes me with my command, editing domain, and options.
 
- Parameters:
- command- the trigger command that I am servicing
- domain- the editing domain in which I am active
- options- my options
 
close
protected void close()
- Extends the inherited implementation by first clearing my change
 description, so that I will not propagate these changes upwards.
 
- 
- Overrides:
- closein class- TransactionImpl
 
- 
 
addTriggers
public void addTriggers(TriggerCommand triggers)
- Overrides the inherited implementation to simply propagate triggers to
 my parent, because it's the transaction that the outside world can see.
 
- 
- Specified by:
- addTriggersin interface- InternalTransaction
- Overrides:
- addTriggersin class- TransactionImpl
 
- 
- Parameters:
- triggers- the triggers to add