org.eclipse.emf.emfstore.internal.modelmutator.api
Class LoggingAdapter
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
org.eclipse.emf.ecore.util.EContentAdapter
org.eclipse.emf.emfstore.internal.modelmutator.api.FilteredAdapter
org.eclipse.emf.emfstore.internal.modelmutator.api.LoggingAdapter
- All Implemented Interfaces:
- org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal
public class LoggingAdapter
- extends FilteredAdapter
Basic extension of FilteredAdapter
to print out the notifications.
- Author:
- Julian Sommerfeldt
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
org.eclipse.emf.common.notify.Adapter.Internal |
Constructor Summary |
LoggingAdapter(List<org.eclipse.emf.ecore.EClass> toLogClasses,
List<org.eclipse.emf.ecore.EReference> toLogReferences,
boolean references,
boolean attributes)
|
Method Summary |
void |
notifyChanged(org.eclipse.emf.common.notify.Notification notification)
|
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 |
LoggingAdapter
public LoggingAdapter(List<org.eclipse.emf.ecore.EClass> toLogClasses,
List<org.eclipse.emf.ecore.EReference> toLogReferences,
boolean references,
boolean attributes)
- Parameters:
toLogClasses
- The EClass
es to log. If null
every EClass
is logged.toLogReferences
- The EReference
es of the toLogClasses to log. If null
every
EReference
is logged.references
- Log reference changes?attributes
- Log attribute changes?
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
Copyright © 2015. All Rights Reserved.