public class DeferringNotifier extends AdapterCapsule
| Modifier and Type | Field and Description |
|---|---|
protected java.util.HashSet<org.eclipse.emf.common.notify.Notification> |
deferredEvents
contains the queued events by each connection that has an open command.
|
_listener, _listenerType, _manager| Constructor and Description |
|---|
DeferringNotifier(java.lang.ref.WeakReference<? extends org.eclipse.emf.common.notify.Adapter> _listenerRef,
ListenerTypeEnum _listenerType,
EventManager _manager) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelDeferment()
This method is defined here because of convenience reasons.
|
void |
deferNotification()
This method is defined here because of convenience reasons.
|
void |
deliverDeferredEvents()
This method is defined here because of convenience reasons.
|
void |
fireEvent(org.eclipse.emf.common.notify.Notification event)
notifies the encapsulated listener about the passed event
|
getListener, getListenerType, isResponsibleFor, toStringprotected java.util.HashSet<org.eclipse.emf.common.notify.Notification> deferredEvents
EventChain
in order to simplyfy the notification of multiple events and to improve performance.public DeferringNotifier(java.lang.ref.WeakReference<? extends org.eclipse.emf.common.notify.Adapter> _listenerRef,
ListenerTypeEnum _listenerType,
EventManager _manager)
public void deferNotification()
AdapterCapsuledeferNotification in class AdapterCapsulepublic void deliverDeferredEvents()
AdapterCapsuledeliverDeferredEvents in class AdapterCapsulepublic void cancelDeferment()
AdapterCapsulecancelDeferment in class AdapterCapsulepublic void fireEvent(org.eclipse.emf.common.notify.Notification event)
AdapterCapsulefireEvent in class AdapterCapsuleevent - the event that will be sent to the listener