org.eclipse.emf.emfstore.internal.common.model.util
Class EObjectChangeNotifier
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
org.eclipse.emf.ecore.util.EContentAdapter
org.eclipse.emf.emfstore.internal.common.model.util.EObjectChangeNotifier
- All Implemented Interfaces:
- org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal
public class EObjectChangeNotifier
- extends org.eclipse.emf.ecore.util.EContentAdapter
Notifies a about changes in its containment hierarchy.
- Author:
- koegel, emueller
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
org.eclipse.emf.common.notify.Adapter.Internal |
Methods inherited from class org.eclipse.emf.ecore.util.EContentAdapter |
setTarget, unsetTarget |
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
getTarget, isAdapterForType |
EObjectChangeNotifier
public EObjectChangeNotifier(NotifiableIdEObjectCollectionImpl notifiableCollection,
org.eclipse.emf.common.notify.Notifier notifier)
- Constructor. Attaches an Adapter to the given
Notifier
and forwards notifications to the given
NotifiableIdEObjectCollection, that reacts appropriately.
- Parameters:
notifiableCollection
- a NotifiableIdEObjectCollectionnotifier
- the Notifier
to listen to
notifyChanged
public void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
-
- Specified by:
notifyChanged
in interface org.eclipse.emf.common.notify.Adapter
- Overrides:
notifyChanged
in class org.eclipse.emf.ecore.util.EContentAdapter
- See Also:
EContentAdapter.notifyChanged(org.eclipse.emf.common.notify.Notification)
disableNotifications
public void disableNotifications(boolean notificationDisabled)
- Parameters:
notificationDisabled
- the notificationDisabled to set
Copyright © 2015. All Rights Reserved.