com.ibm.carma.model.util
Class RemoveChildrenListener

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterImpl
      extended by org.eclipse.emf.ecore.util.EContentAdapter
          extended by com.ibm.carma.model.util.RemoveChildrenListener
All Implemented Interfaces:
org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal
Direct Known Subclasses:
FrameInputRemovalListener

public class RemoveChildrenListener
extends org.eclipse.emf.ecore.util.EContentAdapter

A CARMA model listener which listens for child objects to be removed from the model. Every time a child is removed from the model the removedItem(Object, Object) callback is executed. The listener can be added to object in the model by performing:

<model object>.eAdapters().add(listener)

Since:
7.1

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
org.eclipse.emf.common.notify.Adapter.Internal
 
Field Summary
static java.lang.String COPYRIGHT
           
 
Constructor Summary
RemoveChildrenListener()
           
 
Method Summary
 void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
           
 void removedItem(java.lang.Object parent, java.lang.Object item)
           
 
Methods inherited from class org.eclipse.emf.ecore.util.EContentAdapter
setTarget, unsetTarget
 
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
getTarget, isAdapterForType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

RemoveChildrenListener

public RemoveChildrenListener()
Method Detail

notifyChanged

public void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
Specified by:
notifyChanged in interface org.eclipse.emf.common.notify.Adapter
Overrides:
notifyChanged in class org.eclipse.emf.ecore.util.EContentAdapter

removedItem

public void removedItem(java.lang.Object parent,
                        java.lang.Object item)