|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A receiver of notifications.
An adapter is typically associated with a Notifier
via an AdapterFactory
.
Nested Class Summary | |
static interface |
Adapter.Internal
An internal interface implemented by adapters. |
Method Summary | |
Notifier |
getTarget()
Returns the target from which the adapter receives notification. |
boolean |
isAdapterForType(Object type)
Returns whether the adapter is of the given type. |
void |
notifyChanged(Notification notification)
Notifies that a change to some feature has occurred. |
void |
setTarget(Notifier newTarget)
Sets the target from which the adapter will receive notification. |
Method Detail |
public void notifyChanged(Notification notification)
notification
- a description of the change.public Notifier getTarget()
setTarget(org.eclipse.emf.common.notify.Notifier)
public void setTarget(Notifier newTarget)
newTarget
- the new notifier.getTarget()
public boolean isAdapterForType(Object type)
type
- the type.
AdapterFactory.isFactoryForType(java.lang.Object)
|
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 |