|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.common.notify.impl.BasicNotifierImpl
public class BasicNotifierImpl
An extensible notifier implementation.
Nested Class Summary | |
---|---|
static class |
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>
|
Constructor Summary | |
---|---|
BasicNotifierImpl()
Creates a blank new instance. |
Method Summary | |
---|---|
EList<Adapter> |
eAdapters()
Returns list of the adapters associated with this notifier. |
protected BasicEList<Adapter> |
eBasicAdapters()
Returns the adapter list, even if it is null . |
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 |
Constructor Detail |
---|
public BasicNotifierImpl()
Method Detail |
---|
public EList<Adapter> eAdapters()
Notifier
eAdapters
in interface Notifier
protected BasicEList<Adapter> eBasicAdapters()
null
.
null
.public boolean eDeliver()
Notifier
eDeliver
in interface Notifier
Notifier.eSetDeliver(boolean)
public void eSetDeliver(boolean deliver)
Notifier
eSetDeliver
in interface 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
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-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |