org.eclipse.ocl.examples.common.utils
Class TracingAdapter

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterImpl
      extended by org.eclipse.ocl.examples.common.utils.TracingAdapter
All Implemented Interfaces:
org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal

public class TracingAdapter
extends org.eclipse.emf.common.notify.impl.AdapterImpl


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
org.eclipse.emf.common.notify.Adapter.Internal
 
Field Summary
static TracingOption NOTIFICATION
           
 
Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
target
 
Constructor Summary
TracingAdapter()
           
 
Method Summary
static void debugNotification(java.lang.Object target, org.eclipse.emf.common.notify.Notification notification)
           
protected  void handleNotification(org.eclipse.emf.common.notify.Notification notification)
          Respond to a notification.
 void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
          Provide debug of the notification if tracing selected and then pass to handleNotification.
 
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
getTarget, isAdapterForType, setTarget, unsetTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOTIFICATION

public static final TracingOption NOTIFICATION
Constructor Detail

TracingAdapter

public TracingAdapter()
Method Detail

debugNotification

public static void debugNotification(java.lang.Object target,
                                     org.eclipse.emf.common.notify.Notification notification)

handleNotification

protected void handleNotification(org.eclipse.emf.common.notify.Notification notification)
Respond to a notification.


notifyChanged

public final void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
Provide debug of the notification if tracing selected and then pass to handleNotification.

Specified by:
notifyChanged in interface org.eclipse.emf.common.notify.Adapter
Overrides:
notifyChanged in class org.eclipse.emf.common.notify.impl.AdapterImpl