Package org.eclipse.emf.common.notify
Interface NotificationChain
- All Known Implementing Classes:
NotificationChainImpl,NotificationImpl
public interface NotificationChain
An accumulator of notifications.
As notifications are produced,
they are
accumulated in a chain,
and possibly even merged,
before finally being dispatched to the notifier.-
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(Notification notification) Adds a notification to the chain.voiddispatch()Dispatches each notification to the appropriate notifier viaNotifier.eNotify.
-
Method Details
-
add
Adds a notification to the chain.- Returns:
- whether the notification was added.
-
dispatch
void dispatch()Dispatches each notification to the appropriate notifier viaNotifier.eNotify.
-