Class ECPModelElementChangeListener
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterImpl
-
- org.eclipse.emf.ecp.edit.spi.util.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
-
-
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()
Removes theECPModelElementChangeListener
.
-
-
-
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 interfaceorg.eclipse.emf.common.notify.Adapter
- Overrides:
notifyChanged
in classorg.eclipse.emf.common.notify.impl.AdapterImpl
- See Also:
AdapterImpl.notifyChanged(org.eclipse.emf.common.notify.Notification)
-
remove
public void remove()
Removes theECPModelElementChangeListener
.
-
-