org.jupe.synchronisation.umlchanges
Class RemoveAdapter

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

public class RemoveAdapter
extends org.eclipse.emf.common.notify.impl.AdapterImpl

Helper class to deal with the strange notification behaviour of UML2. It helps to deal with situations when the REMOVE event is sent as last event, i.e. after that another event that destroys a state that is necessary to know to react on the removal. Example: The interface of an interface realization is already set to null when the interface realization is removed from the class. So this class stores the element that would be lost otherwise using UML2ElementStack, so that the handler that reacts in the "real" removal can find it there.

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
RemoveAdapter()
           
 
Method Summary
 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

RemoveAdapter

public RemoveAdapter()
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 org.eclipse.emf.common.notify.impl.AdapterImpl