Interface InstanceListener
-
public interface InstanceListenerInterface for observing insertion / deletion of instances of EClass.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinstanceDeleted(org.eclipse.emf.ecore.EClass clazz, org.eclipse.emf.ecore.EObject instance)Called when the given instance was removed from the model.voidinstanceInserted(org.eclipse.emf.ecore.EClass clazz, org.eclipse.emf.ecore.EObject instance)Called when the given instance was added to the model.
-
-
-
Method Detail
-
instanceInserted
void instanceInserted(org.eclipse.emf.ecore.EClass clazz, org.eclipse.emf.ecore.EObject instance)Called when the given instance was added to the model.- Parameters:
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 model
-
instanceDeleted
void instanceDeleted(org.eclipse.emf.ecore.EClass clazz, org.eclipse.emf.ecore.EObject instance)Called when the given instance was removed from the model.- Parameters:
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
-
-