public class NotificationAnalysis
extends java.lang.Object
| Constructor and Description |
|---|
NotificationAnalysis() |
| Modifier and Type | Method and Description |
|---|---|
static <S extends org.eclipse.emf.ecore.EObject,T extends org.eclipse.emf.ecore.EObject> |
getAddedElements(java.util.Collection<org.eclipse.emf.common.notify.Notification> notifications,
org.eclipse.emf.transaction.NotificationFilter filter)
Walk over a collection of notifications to find out which elements have been added to the given feature.
|
static java.util.Collection<org.eclipse.emf.ecore.EObject> |
getDeletedElements(java.util.Collection<org.eclipse.emf.common.notify.Notification> notifications) |
static <T> T |
getOriginalSingleValue(org.eclipse.emf.ecore.EObject e,
org.eclipse.emf.ecore.EStructuralFeature feature,
java.util.List<org.eclipse.emf.common.notify.Notification> notifications) |
static <S extends org.eclipse.emf.ecore.EObject,T> |
getRemovedElements(java.util.Collection<org.eclipse.emf.common.notify.Notification> notification,
org.eclipse.emf.transaction.NotificationFilter filter)
Walk over a collection of notifications to find out which elements have been removed from the given feature
|
public static <S extends org.eclipse.emf.ecore.EObject,T extends org.eclipse.emf.ecore.EObject> com.google.common.collect.Multimap<S,T> getAddedElements(java.util.Collection<org.eclipse.emf.common.notify.Notification> notifications,
org.eclipse.emf.transaction.NotificationFilter filter)
f - notifications - clazz - public static <S extends org.eclipse.emf.ecore.EObject,T> com.google.common.collect.Multimap<S,T> getRemovedElements(java.util.Collection<org.eclipse.emf.common.notify.Notification> notification,
org.eclipse.emf.transaction.NotificationFilter filter)
f - notifications - clazz - public static java.util.Collection<org.eclipse.emf.ecore.EObject> getDeletedElements(java.util.Collection<org.eclipse.emf.common.notify.Notification> notifications)
public static <T> T getOriginalSingleValue(org.eclipse.emf.ecore.EObject e,
org.eclipse.emf.ecore.EStructuralFeature feature,
java.util.List<org.eclipse.emf.common.notify.Notification> notifications)