public class EContentAdapter extends AdapterImpl
EObject, a Resource, or a ResourceSet.Adapter.Internaltarget| Constructor and Description |
|---|
EContentAdapter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAdapter(Notifier notifier) |
protected void |
basicSetTarget(Notifier target)
Actually sets the target by calling super.
|
protected void |
basicUnsetTarget(Notifier target)
Actually unsets the target by calling super.
|
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 |
removeAdapter(Notifier notifier) |
protected boolean |
resolve() |
protected void |
selfAdapt(Notification notification)
Handles a notification by calling
handleContainment
for any containment-based notification. |
protected void |
setTarget(EObject target)
Handles installation of the adapter on an EObject
by adding the adapter to each of the directly contained objects.
|
void |
setTarget(Notifier target)
Handles installation of the adapter
by adding the adapter to each of the directly contained objects.
|
protected void |
setTarget(Resource target)
Handles installation of the adapter on a Resource
by adding the adapter to each of the directly contained objects.
|
protected void |
setTarget(ResourceSet target)
Handles installation of the adapter on a ResourceSet
by adding the adapter to each of the directly contained objects.
|
protected void |
unsetTarget(EObject target)
Handles undoing the installation of the adapter from an EObject
by removing the adapter from each of the directly contained objects.
|
void |
unsetTarget(Notifier target)
Handles undoing the installation of the adapter
by removing the adapter from each of the directly contained objects.
|
protected void |
unsetTarget(java.lang.Object target)
Deprecated.
Use or override
unsetTarget(Notifier) instead. |
protected void |
unsetTarget(Resource target)
Handles undoing the installation of the adapter from a Resource
by removing the adapter from each of the directly contained objects.
|
protected void |
unsetTarget(ResourceSet target)
Handles undoing the installation of the adapter from a ResourceSet
by removing the adapter from each of the directly contained objects.
|
getTarget, isAdapterForTypepublic void notifyChanged(Notification notification)
selfAdapter.notifyChanged in interface AdapternotifyChanged in class AdapterImplnotification - a description of the change.protected 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 AdapterImpltarget - the new notifier.Adapter.getTarget()protected void basicSetTarget(Notifier target)
protected void setTarget(EObject target)
protected void setTarget(Resource target)
protected void setTarget(ResourceSet target)
public void unsetTarget(Notifier target)
unsetTarget in interface Adapter.InternalunsetTarget in class AdapterImpltarget - the old notifier.Adapter.getTarget(),
Adapter.setTarget(Notifier)protected void basicUnsetTarget(Notifier target)
@Deprecated protected void unsetTarget(java.lang.Object target)
unsetTarget(Notifier) instead.protected void unsetTarget(EObject target)
protected void unsetTarget(Resource target)
protected void unsetTarget(ResourceSet target)
protected void addAdapter(Notifier notifier)
protected void removeAdapter(Notifier notifier)
protected boolean resolve()