org.eclipse.gmt.umlx.gcore.util
Class GNodeElementListener<M extends GNodeElement,CM extends org.eclipse.emf.ecore.EModelElement>

java.lang.Object
  extended by org.eclipse.gmt.umlx.ecore.AbstractAdapter
      extended by org.eclipse.gmt.umlx.ecore.ModelChangeAdapter
          extended by org.eclipse.gmt.umlx.gcore.util.GNodeElementListener<M,CM>
All Implemented Interfaces:
org.eclipse.emf.common.notify.Adapter, IModelChangeListener

public abstract class GNodeElementListener<M extends GNodeElement,CM extends org.eclipse.emf.ecore.EModelElement>
extends ModelChangeAdapter
implements IModelChangeListener


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
org.eclipse.emf.common.notify.Adapter.Internal
 
Constructor Summary
GNodeElementListener(M model)
           
 
Method Summary
 void dispose()
           
 void modelChanged(org.eclipse.emf.common.notify.Notification msg)
           
 void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
           
 void setModel(M newModel)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.gmt.umlx.ecore.ModelChangeAdapter
addNotifier, refreshNotifiers, removeNotifier
 
Methods inherited from class org.eclipse.gmt.umlx.ecore.AbstractAdapter
getTarget, registerPackageClass, setTarget
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.common.notify.Adapter
isAdapterForType
 

Constructor Detail

GNodeElementListener

public GNodeElementListener(M model)
Method Detail

dispose

public void dispose()
Overrides:
dispose in class ModelChangeAdapter

modelChanged

public void modelChanged(org.eclipse.emf.common.notify.Notification msg)
Specified by:
modelChanged in interface IModelChangeListener

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 AbstractAdapter

setModel

public void setModel(M newModel)

toString

public java.lang.String toString()
Overrides:
toString in class AbstractAdapter