de.cau.cs.kieler.synccharts.listener
Class TriggerListenerRecursiveAdd
java.lang.Object
org.eclipse.emf.transaction.ResourceSetListenerImpl
org.eclipse.emf.transaction.TriggerListener
de.cau.cs.kieler.synccharts.listener.FailSafeTriggerListener
de.cau.cs.kieler.synccharts.listener.FireOnceTriggerListener
de.cau.cs.kieler.synccharts.listener.TriggerListenerRecursiveAdd
- All Implemented Interfaces:
- EventListener, ResourceSetListener, ResourceSetListener.Internal
public class TriggerListenerRecursiveAdd
- extends FireOnceTriggerListener
A pre-commit TriggerListener that listens to any ADD and ADD_MANY notifications in the
SyncChartsPackage and broadcasts new ADD Notifications for all children of the new objects. This
is used to inform all pre-commit ResourceSetListeners also about the new children of the freshly
added elements. If this was not installed, adding ABRO in one batch operation to a SyncChart
would cause only one Notification about the main ABRO state but not about any of the child
States/Regions/Signals/Transitions/...
- Rating

Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TriggerListenerRecursiveAdd
public TriggerListenerRecursiveAdd()
TriggerListenerRecursiveAdd
public TriggerListenerRecursiveAdd(NotificationFilter filter)
trigger
protected Command trigger(TransactionalEditingDomain domain,
Notification notification)
- Specified by:
trigger
in class TriggerListener