org.jupe.synchronisation.umlchanges
Class SimpleHandler

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterImpl
      extended by org.jupe.synchronisation.umlchanges.SimpleHandler
All Implemented Interfaces:
org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal

public abstract class SimpleHandler
extends org.eclipse.emf.common.notify.impl.AdapterImpl

Abstract, language independant base class for handlers of changes UML2 element that don't contain others. The changes have to propagated into the source code. There should be a subclass for each UML2 element of that kind. The handler get notified about each change in the corresponding element using notifyChanged(Notification). It only has to handle changes in the element using handleChange() (and not its adding or removing).

UML2 element that can contain others are handled in subclasses of AbstractContainerHandler.

Author:
Michael Pradel

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
org.eclipse.emf.common.notify.Adapter.Internal
 
Constructor Summary
SimpleHandler()
           
 
Method Summary
abstract  void notifyChanged(org.eclipse.emf.common.notify.Notification msg)
           
 
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
getTarget, isAdapterForType, setTarget, unsetTarget
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleHandler

public SimpleHandler()
Method Detail

notifyChanged

public abstract void notifyChanged(org.eclipse.emf.common.notify.Notification msg)
Specified by:
notifyChanged in interface org.eclipse.emf.common.notify.Adapter
Overrides:
notifyChanged in class org.eclipse.emf.common.notify.impl.AdapterImpl