|
|||||||||
PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.emf.common.notify.impl.NotifierImpl
An extensible notifier implementation.
Field Summary | |
protected BasicEList |
eAdapters
The list of Adapter s associated with the notifier. |
protected static int |
EDELIVER
The bit of eFlags that is used to represent eDeliver() . |
protected int |
eFlags
An extensible set of bit flags; the first bit is used for EDELIVER to implement eDeliver() . |
protected static int |
ELAST_NOTIFIER_FLAG
The last bit used by this class; derived classes may use bit values higher than this. |
Constructor Summary | |
NotifierImpl()
Creates a blank new instance. |
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. |
boolean |
eNotificationRequired()
Returns whether eNotify needs to be called. |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final int EDELIVER
eFlags
that is used to represent eDeliver()
.protected static final int ELAST_NOTIFIER_FLAG
protected int eFlags
EDELIVER
to implement eDeliver()
.protected BasicEList eAdapters
Adapter
s associated with the notifier.Constructor Detail |
public NotifierImpl()
Method Detail |
public EList eAdapters()
Notifier
eAdapters
in interface Notifier
org.eclipse.emf.common.notify.Notifier
public boolean eDeliver()
Notifier
eDeliver
in interface Notifier
org.eclipse.emf.common.notify.Notifier
Notifier.eSetDeliver(boolean)
public void eSetDeliver(boolean deliver)
Notifier
eSetDeliver
in interface Notifier
org.eclipse.emf.common.notify.Notifier
deliver
- whether or not to deliver.Notifier.eDeliver()
public void eNotify(Notification notification)
Notifier
delivered
to the adapters
via Adapter.notifyChanged
.eNotify
in interface Notifier
org.eclipse.emf.common.notify.Notifier
notification
- a description of the change.public boolean eNotificationRequired()
eNotify
needs to be called.
This may return true
even when eDeliver
is false
or when eAdapters
is empty.eNotify
needs to be called.
|
Copyright 2001-2002 IBM Corporation and others. All Rights Reserved. |
||||||||
PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |