org.eclipse.emf.common.notify
Interface Notifier

All Known Subinterfaces:
ComplexTypeConverter, EAnnotation, EAttribute, EClass, EClassifier, EcoreFactory, EcorePackage, EDataType, EEnum, EEnumLiteral, EFactory, EModelElement, ENamedElement, EObject, EOperation, EPackage, EParameter, EReference, EStructuralFeature, EStructuralFeature.Internal, ETypedElement, FunctionNamePair, FunctionPair, GenBase, GenClass, GenClassifier, GenDataType, GenEnum, GenEnumLiteral, GenFeature, GenModel, GenModelFactory, GenModelPackage, GenOperation, GenPackage, GenParameter, InternalEObject, Mapping, MappingFactory, MappingHelper, MappingPackage, MappingRoot, MappingStrategy, Resource, Resource.Internal, ResourceSet, TreeFactory, TreeNode, TreePackage, TypeConverter, XMIResource, XMLResource
All Known Implementing Classes:
NotifierImpl

public interface Notifier

A source of notification delivery. Since all modeled objects will be notifiers, the method names start with "e" to distinguish the EMF methods from the client's methods.


Method Summary
 EList eAdapters()
          Returns list of the adapters associated with this notifier.
 boolean eDeliver()
          Returns whether this notifier will deliver notifications to the adapters.
 void eNotify(Notification notification)
          Notifies a change to a feature of this notifier as described by the notification.
 void eSetDeliver(boolean deliver)
          Sets whether this notifier will deliver notifications to the adapters.
 

Method Detail

eAdapters

public EList eAdapters()
Returns list of the adapters associated with this notifier.
Returns:
the adapters associated with this notifier.

eDeliver

public boolean eDeliver()
Returns whether this notifier will deliver notifications to the adapters.
Returns:
whether notifications will be delivered.
See Also:
eSetDeliver(boolean)

eSetDeliver

public void eSetDeliver(boolean deliver)
Sets whether this notifier will deliver notifications to the adapters.
Parameters:
deliver - whether or not to deliver.
See Also:
eDeliver()

eNotify

public void eNotify(Notification notification)
Notifies a change to a feature of this notifier as described by the notification. The notifications will generally be delivered to the adapters via Adapter.notifyChanged.
Parameters:
notification - a description of the change.

Copyright 2001-2003 IBM Corporation and others.
All Rights Reserved.