Class NotifierImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.NotifierImpl
- All Implemented Interfaces:
Notifier
An extensible notifier implementation.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BasicEList<Adapter>The list ofAdapters associated with the notifier.protected static final intThe bit ofeFlagsthat is used to representeDeliver().protected intAn extensible set of bit flags; the first bit is used forEDELIVERto implementeDeliver().protected static final intThe last bit used by this class; derived classes may use bit values higher than this. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns list of the adapters associated with this notifier.protected BasicEList<Adapter>Returns the adapter list, even if it isnull.booleaneDeliver()Returns whether this notifier will deliver notifications to the adapters.voideSetDeliver(boolean deliver) Sets whether this notifier will deliver notifications to the adapters.Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
-
Field Details
-
EDELIVER
protected static final int EDELIVERThe bit ofeFlagsthat is used to representeDeliver().- See Also:
-
ELAST_NOTIFIER_FLAG
protected static final int ELAST_NOTIFIER_FLAGThe last bit used by this class; derived classes may use bit values higher than this.- See Also:
-
eFlags
protected int eFlagsAn extensible set of bit flags; the first bit is used forEDELIVERto implementeDeliver(). -
eAdapters
The list ofAdapters associated with the notifier.
-
-
Constructor Details
-
NotifierImpl
public NotifierImpl()Creates a blank new instance.
-
-
Method Details
-
eAdapters
Description copied from interface:NotifierReturns list of the adapters associated with this notifier.- Specified by:
eAdaptersin interfaceNotifier- Overrides:
eAdaptersin classBasicNotifierImpl- Returns:
- the adapters associated with this notifier.
-
eBasicAdapters
Description copied from class:BasicNotifierImplReturns the adapter list, even if it isnull.- Overrides:
eBasicAdaptersin classBasicNotifierImpl- Returns:
- the adapter list, even if it is
null.
-
eDeliver
public boolean eDeliver()Description copied from interface:NotifierReturns whether this notifier will deliver notifications to the adapters.- Specified by:
eDeliverin interfaceNotifier- Overrides:
eDeliverin classBasicNotifierImpl- Returns:
- whether notifications will be delivered.
- See Also:
-
eSetDeliver
public void eSetDeliver(boolean deliver) Description copied from interface:NotifierSets whether this notifier will deliver notifications to the adapters.- Specified by:
eSetDeliverin interfaceNotifier- Overrides:
eSetDeliverin classBasicNotifierImpl- Parameters:
deliver- whether or not to deliver.- See Also:
-