de.cau.cs.kieler.synccharts.text.interfaces.bridge
Class TriggerListenerChangedRegion

java.lang.Object
  extended by org.eclipse.emf.transaction.ResourceSetListenerImpl
      extended by org.eclipse.emf.transaction.TriggerListener
          extended by de.cau.cs.kieler.synccharts.listener.FailSafeTriggerListener
              extended by de.cau.cs.kieler.synccharts.listener.FireOnceTriggerListener
                  extended by de.cau.cs.kieler.synccharts.text.interfaces.bridge.TriggerListenerChangedRegion
All Implemented Interfaces:
EventListener, ResourceSetListener, ResourceSetListener.Internal

public class TriggerListenerChangedRegion
extends FireOnceTriggerListener

Not testable ... we can't cause a trigger for a region's signal or var within live editor.

Rating red

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.emf.transaction.ResourceSetListener
ResourceSetListener.Internal
 
Field Summary
 
Fields inherited from class de.cau.cs.kieler.synccharts.listener.FireOnceTriggerListener
transaction
 
Constructor Summary
TriggerListenerChangedRegion()
          Constructor.
 
Method Summary
protected  Command trigger(TransactionalEditingDomain domain, Notification notification)
          
 
Methods inherited from class de.cau.cs.kieler.synccharts.listener.FireOnceTriggerListener
transactionAboutToCommit
 
Methods inherited from class org.eclipse.emf.transaction.TriggerListener
isPrecommitOnly
 
Methods inherited from class org.eclipse.emf.transaction.ResourceSetListenerImpl
getFilter, getTarget, isAggregatePrecommitListener, isPostcommitOnly, resourceSetChanged, setTarget, unsetTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TriggerListenerChangedRegion

public TriggerListenerChangedRegion()
Constructor. Create filter for regions signals and variables CARE : this isn't validated so far. TODO handle adding new signals or variables via trigger listener!

Method Detail

trigger

protected Command trigger(TransactionalEditingDomain domain,
                          Notification notification)

Specified by:
trigger in class TriggerListener