Class ModelChangeNotification
- java.lang.Object
-
- org.eclipse.emf.ecp.view.spi.model.ModelChangeNotification
-
public class ModelChangeNotification extends java.lang.Object
The Class ModelChangeNotification. Such a notification is issued by the ViewModelContext when a change in the domain or the view model occurs.- Since:
- 1.3
- Author:
- Eugen Neufeld
-
-
Constructor Summary
Constructors Constructor Description ModelChangeNotification(org.eclipse.emf.common.notify.Notification notification)
Instantiates a new model change notification.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<org.eclipse.emf.ecore.EObject>
getNewEObjects()
Returns the collection of new EObjects.org.eclipse.emf.ecore.EObject
getNotifier()
Gets the notifier.java.util.Collection<org.eclipse.emf.ecore.EObject>
getOldEObjects()
Returns the collection of old EObjects.org.eclipse.emf.common.notify.Notification
getRawNotification()
Gets the raw notification.org.eclipse.emf.ecore.EStructuralFeature
getStructuralFeature()
Gets the structural feature.
-
-
-
Method Detail
-
getStructuralFeature
public org.eclipse.emf.ecore.EStructuralFeature getStructuralFeature()
Gets the structural feature.- Returns:
- the
EStructuralFeature
which value changed
-
getNotifier
public org.eclipse.emf.ecore.EObject getNotifier()
Gets the notifier.- Returns:
- the notifier which value changed
-
getRawNotification
public org.eclipse.emf.common.notify.Notification getRawNotification()
Gets the raw notification.- Returns:
- the raw
Notification
-
getNewEObjects
public java.util.Collection<org.eclipse.emf.ecore.EObject> getNewEObjects()
Returns the collection of new EObjects.- Returns:
- The collection of added EObjects, the collection might be empty but never null.
- Since:
- 1.5
-
getOldEObjects
public java.util.Collection<org.eclipse.emf.ecore.EObject> getOldEObjects()
Returns the collection of old EObjects.- Returns:
- The collection of removed EObjects, the collection might be empty but never null.
- Since:
- 1.10
-
-