Modelers

org.topcased.modeler.listeners
Class UIAdapterImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterImpl
      extended by org.topcased.modeler.listeners.UIAdapterImpl
All Implemented Interfaces:
Adapter, Adapter.Internal
Direct Known Subclasses:
DiagramElementListener

public abstract class UIAdapterImpl
extends AdapterImpl

This EMF listener receives an event and then handles this event in the UI thread


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
Adapter.Internal
 
Field Summary
 
Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
target
 
Constructor Summary
UIAdapterImpl()
           
 
Method Summary
 void notifyChanged(Notification msg)
          Call the handlePropertyChanged method in the UI thread
protected abstract  void safeNotifyChanged(Notification msg)
          This method is called when an event occured on the model objects.
 
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
 

Constructor Detail

UIAdapterImpl

public UIAdapterImpl()
Method Detail

notifyChanged

public final void notifyChanged(Notification msg)
Call the handlePropertyChanged method in the UI thread

Specified by:
notifyChanged in interface Adapter
Overrides:
notifyChanged in class AdapterImpl
See Also:
Adapter.notifyChanged(org.eclipse.emf.common.notify.Notification)

safeNotifyChanged

protected abstract void safeNotifyChanged(Notification msg)
This method is called when an event occured on the model objects.
This method is always called in the Ui thread

Parameters:
msg - the event notification

Modelers

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.