public interface IdEObjectCollectionChangeObserver extends ESObserver
IdEObjectCollection.| Modifier and Type | Method and Description |
|---|---|
void |
collectionDeleted(IdEObjectCollection collection)
If the
IdEObjectCollection is deleted. |
void |
modelElementAdded(IdEObjectCollection collection,
org.eclipse.emf.ecore.EObject eObject)
Called when the
eObject has been added to the collection. |
void |
modelElementRemoved(IdEObjectCollection collection,
org.eclipse.emf.ecore.EObject eObject)
Called when the
eObject and its siblings have been removed from
the collection. |
void |
notify(org.eclipse.emf.common.notify.Notification notification,
IdEObjectCollection collection,
org.eclipse.emf.ecore.EObject modelElement)
A notification on a model element of the collection occurred.
|
void notify(org.eclipse.emf.common.notify.Notification notification,
IdEObjectCollection collection,
org.eclipse.emf.ecore.EObject modelElement)
Notification documentation for details on the notifications.
This method will be called even if the given notification results from an add
or remove of a model element of the project.notification - the notificationcollection - the collection holding the modelElementmodelElement - the model element the notification originates fromvoid modelElementAdded(IdEObjectCollection collection, org.eclipse.emf.ecore.EObject eObject)
eObject has been added to the collection.collection - the IdEObjectCollection to which the eObject was addedeObject - the EObject that has been added to the collectionvoid modelElementRemoved(IdEObjectCollection collection, org.eclipse.emf.ecore.EObject eObject)
eObject and its siblings have been removed from
the collection.
NOTE: Note that you will NOT receive a separate notification for each
sibling.collection - the IdEObjectCollection to which the eObject was addedeObject - the EObject that has been added to the collectionvoid collectionDeleted(IdEObjectCollection collection)
IdEObjectCollection is deleted.collection - the IdEObjectCollection that has been deletedCopyright © 2017. All rights reserved.