|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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>
|
static interface |
BasicNotifierImpl.EObservableAdapterList
An interface implemented by adapter lists
that allows listeners to observe adapters being added and removed. |
Constructor Summary | |
---|---|
BasicNotifierImpl()
Creates a blank new instance. |
Method Summary | |
---|---|
EList<Adapter> |
eAdapters()
Returns list of the adapters associated with this notifier. |
protected Adapter[] |
eBasicAdapterArray()
Returns the underlying array of adapters. |
protected BasicEList<Adapter> |
eBasicAdapters()
Returns the adapter list, even if it is null . |
protected boolean |
eBasicHasAdapters()
Returns whether there are any adapters. |
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
.protected Adapter[] eBasicAdapterArray()
null
represents the lack of any adapters.
This array may not be modified by the caller
and must be guaranteed not to be modified even if the list of adapters
is modified.
protected boolean eBasicHasAdapters()
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 |