|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Adapter
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(java.lang.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 |
---|
void notifyChanged(Notification notification)
notification
- a description of the change.Notifier getTarget()
setTarget(org.eclipse.emf.common.notify.Notifier)
void setTarget(Notifier newTarget)
newTarget
- the new notifier.getTarget()
boolean isAdapterForType(java.lang.Object type)
type
- the type.
AdapterFactory.isFactoryForType(java.lang.Object)
|
Copyright 2001-2012 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |