Class ECPModelElementChangeListener

  • All Implemented Interfaces:
    org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal

    public abstract class ECPModelElementChangeListener
    extends org.eclipse.emf.common.notify.impl.AdapterImpl
    Listens to the changes of one modelelement.
    Author:
    helming
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter

        org.eclipse.emf.common.notify.Adapter.Internal
    • Field Summary

      • Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl

        target
    • Constructor Summary

      Constructors 
      Constructor Description
      ECPModelElementChangeListener​(org.eclipse.emf.ecore.EObject modelelement)
      Default constructor.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void notifyChanged​(org.eclipse.emf.common.notify.Notification notification)
      abstract void onChange​(org.eclipse.emf.common.notify.Notification notification)
      Handle changes to the model element.
      void remove()
      • 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

      • ECPModelElementChangeListener

        public ECPModelElementChangeListener​(org.eclipse.emf.ecore.EObject modelelement)
        Default constructor.
        Parameters:
        modelelement - the modelelement to listen on
    • Method Detail

      • onChange

        public abstract void onChange​(org.eclipse.emf.common.notify.Notification notification)
        Handle changes to the model element.
        Parameters:
        notification - the EMF notification, providing details on the change
      • 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.common.notify.impl.AdapterImpl
        See Also:
        AdapterImpl.notifyChanged(org.eclipse.emf.common.notify.Notification)