org.jupe.synchronisation.umlchanges
Class ContainerHandler
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
org.jupe.synchronisation.umlchanges.ContainerHandler
- All Implemented Interfaces:
- org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal
- Direct Known Subclasses:
- JavaContainerHandler
public abstract class ContainerHandler
- extends org.eclipse.emf.common.notify.impl.AdapterImpl
Abstract, language independant base class for handlers of UML2 elements that
can contain others (e.g. org.eclipse.uml2.Package
or
org.eclipse.uml2.Class
. There should be subclasses for each UML2 of
that kind. The handler get notified about each change in the corresponding
element using AdapterImpl.notifyChanged(Notification)
. It has to handle changes
in it using handleChange()
, as well as elements that are added to
or removed from it using handleAdd()
and handleRemove()
.
UML2 element that cannot contain others are handled using
SimpleHandler
.
- Author:
- Michael Pradel
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
org.eclipse.emf.common.notify.Adapter.Internal |
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
getTarget, isAdapterForType, notifyChanged, setTarget, unsetTarget |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |