org.jupe.synchronisation.umlchanges
Class AddAdapter
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
org.jupe.synchronisation.umlchanges.AddAdapter
- All Implemented Interfaces:
- org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal
public class AddAdapter
- extends org.eclipse.emf.common.notify.impl.AdapterImpl
Helper class to deal with the behaviour of the UML2 notification mechanism,
that containing elements get a notification about added element before their
names are set. This makes it impossible to create the corresponding source
element.
- Author:
- Michael Pradel
- See Also:
AddAdapter
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
org.eclipse.emf.common.notify.Adapter.Internal |
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 |
AddAdapter
public AddAdapter(AbstractContainerHandler containerHandler)
- Creates a new AddAdapter.
- Parameters:
containerHandler
- The handler that is responsible for the containing class. Its
AbstractContainerHandler.handleAdd()
method will be called
when the name of the added element is set.
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