de.cau.cs.kieler.synccharts.listener
Class NoteSynchronizationTriggerListener

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.listener.NoteSynchronizationTriggerListener
All Implemented Interfaces:
EventListener, ResourceSetListener, ResourceSetListener.Internal

public class NoteSynchronizationTriggerListener
extends FireOnceTriggerListener

Listen to changes of Note elements in the GMF notation model. Such notes work like comments in the graphical editor. This TriggerListener looks for new Notes or changed Note descritpions. If it triggers, it adds a corresponding semantic StringAnnotation from the AnnotationsPackage to the corresponding semantic object if it is an Annotatable.

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
NoteSynchronizationTriggerListener()
           
 
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

NoteSynchronizationTriggerListener

public NoteSynchronizationTriggerListener()
Method Detail

trigger

protected Command trigger(TransactionalEditingDomain domain,
                          Notification notification)
Specified by:
trigger in class TriggerListener