public interface Adapter
Notifier
via an AdapterFactory
.Modifier and Type | Interface and Description |
---|---|
static interface |
Adapter.Internal
An internal interface implemented by adapters.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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)