org.jupe.synchronisation.umlchanges.java
Class ModelHandler

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

public class ModelHandler
extends PackageHandler

Concrete implementation of AbstractContainerHandler for the UML2 model. It handles changes in the model, as well as added and removed elements (e.g. packages, classes, etc).

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
ModelHandler(JupeProject jupeProject)
           
 
Method Summary
 void notifyChanged(org.eclipse.emf.common.notify.Notification msg)
           
 
Methods inherited from class org.jupe.synchronisation.umlchanges.AbstractContainerHandler
switchCases
 
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

ModelHandler

public ModelHandler(JupeProject jupeProject)
Method Detail

notifyChanged

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