Package org.eclipse.emf.common.notify
Interface Notifier
- All Known Implementing Classes:
BasicNotifierImpl,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
Modifier and TypeMethodDescriptionReturns list of the adapters associated with this notifier.booleaneDeliver()Returns whether this notifier will deliver notifications to the adapters.voideNotify(Notification notification) Notifies a change to a feature of this notifier as described by the notification.voideSetDeliver(boolean deliver) Sets whether this notifier will deliver notifications to the adapters.
-
Method Details
-
eAdapters
Returns list of the adapters associated with this notifier.- Returns:
- the adapters associated with this notifier.
-
eDeliver
boolean eDeliver()Returns whether this notifier will deliver notifications to the adapters.- Returns:
- whether notifications will be delivered.
- See Also:
-
eSetDeliver
void eSetDeliver(boolean deliver) Sets whether this notifier will deliver notifications to the adapters.- Parameters:
deliver- whether or not to deliver.- See Also:
-
eNotify
Notifies a change to a feature of this notifier as described by the notification. The notifications will generally bedeliveredto theadaptersviaAdapter.notifyChanged.- Parameters:
notification- a description of the change.
-