|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.AdapterImpl
org.eclipse.emf.ecore.util.EContentAdapter
An adapter that maintains itself as an adapter for all contained objects
as they come and go.
It can be installed for an EObject, a Resource, or a ResourceSet.
| Field Summary |
| Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
target |
| Constructor Summary | |
EContentAdapter()
|
|
| Method Summary | |
protected void |
handleContainment(Notification notification)
Handles a containment change by adding and removing the adapter as appropriate. |
void |
notifyChanged(Notification notification)
Handles a notification by calling selfAdapter. |
protected void |
selfAdapt(Notification notification)
Handles a notification by calling handleContainment
for any containment-based notification. |
void |
setTarget(Notifier target)
Handles installation of the adapter by adding the adapter to each of the directly contained objects. |
protected void |
unsetTarget(Object target)
Handles installation of the adapter by adding the adapter to each of the directly contained objects. |
| Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
getTarget, isAdapterForType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EContentAdapter()
| Method Detail |
public void notifyChanged(Notification notification)
selfAdapter.
notifyChanged in interface AdapternotifyChanged in class AdapterImplprotected void selfAdapt(Notification notification)
handleContainment
for any containment-based notification.
protected void handleContainment(Notification notification)
public void setTarget(Notifier target)
setTarget in interface AdaptersetTarget in class AdapterImplprotected void unsetTarget(Object target)
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||