com.ibm.carma.ui.view.fields
Class FrameInputRemovalListener
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
org.eclipse.emf.ecore.util.EContentAdapter
com.ibm.carma.model.util.RemoveChildrenListener
com.ibm.carma.ui.view.fields.FrameInputRemovalListener
- All Implemented Interfaces:
- CarmaRegistryListener, org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal
public class FrameInputRemovalListener
- extends RemoveChildrenListener
- implements CarmaRegistryListener
Listens for items to be removed from the CARMA model and subsequently updates the list of frames
to remove any frame which lists the removed item as a parent.
- Since:
- 7.1
| 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
|
|
Method Summary |
void |
carmaAdded(CarmaRegistry registry,
CARMA carma)
This method will be called by CarmaRegistry when a CARMA is added to
CarmaRegistry. |
void |
carmaRemoved(CarmaRegistry registry,
CARMA carma)
This method will be called by CarmaRegistry when a CARMA is removed from
CarmaRegistry. |
void |
dispose()
Stops the listener |
void |
init()
Initializes the listener |
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 |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
FrameInputRemovalListener
public FrameInputRemovalListener(org.eclipse.ui.views.framelist.FrameList framelist)
- Parameters:
framelist - Framelist to update when the CARMA model changes
init
public void init()
- Initializes the listener
dispose
public void dispose()
- Stops the listener
removedItem
public void removedItem(java.lang.Object parent,
java.lang.Object item)
- Overrides:
removedItem in class RemoveChildrenListener
carmaAdded
public void carmaAdded(CarmaRegistry registry,
CARMA carma)
- Description copied from interface:
CarmaRegistryListener
- This method will be called by CarmaRegistry when a CARMA is added to
CarmaRegistry. This method should be short running.
- Specified by:
carmaAdded in interface CarmaRegistryListener
- Parameters:
registry - the CarmaRegistry to which carma is addedcarma - the CARMA that was added to registry
carmaRemoved
public void carmaRemoved(CarmaRegistry registry,
CARMA carma)
- Description copied from interface:
CarmaRegistryListener
- This method will be called by CarmaRegistry when a CARMA is removed from
CarmaRegistry. This method should be short running.
- Specified by:
carmaRemoved in interface CarmaRegistryListener
- Parameters:
registry - the CarmaRegistry from which carma is removedcarma - the CARMA that was removed from registry