public interface InstanceListener
Modifier and Type | Method and Description |
---|---|
void |
instanceDeleted(org.eclipse.emf.ecore.EClass clazz,
org.eclipse.emf.ecore.EObject instance)
Called when the given instance was removed from the model.
|
void |
instanceInserted(org.eclipse.emf.ecore.EClass clazz,
org.eclipse.emf.ecore.EObject instance)
Called when the given instance was added to the model.
|
void instanceInserted(org.eclipse.emf.ecore.EClass clazz, org.eclipse.emf.ecore.EObject instance)
clazz
- an EClass registered for this listener, for which a new instance (possibly an instance of a subclass) was inserted into the modelinstance
- an EObject instance that was inserted into the modelvoid instanceDeleted(org.eclipse.emf.ecore.EClass clazz, org.eclipse.emf.ecore.EObject instance)
clazz
- an EClass registered for this listener, for which an instance (possibly an instance of a subclass) was removed from the modelinstance
- an EObject instance that was removed from the model