Package org.eclipse.emf.common.notify
Interface Adapter.Internal
- All Superinterfaces:
Adapter
- All Known Implementing Classes:
AdapterImpl,SingletonAdapterImpl
- Enclosing interface:
- Adapter
An internal interface implemented by adapters. It allows a shared adapter to be informed when a specific notifier
removes it from its adapter list.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
Adapter.Internal -
Method Summary
Modifier and TypeMethodDescriptionvoidunsetTarget(Notifier oldTarget) Unsets the target from which the adapter will receive notification.Methods inherited from interface org.eclipse.emf.common.notify.Adapter
getTarget, isAdapterForType, notifyChanged, setTarget
-
Method Details
-
unsetTarget
Unsets the target from which the adapter will receive notification. This method is only to be called by a notifier when this adapter is removed from its adapter list. In general, an adapter may be shared by more than one notifier, so this mechanism allows the adapter to know specifically which notifier will no longer be notifying.- Parameters:
oldTarget- the old notifier.- See Also:
-