public class ResourceSetImpl.MappedResourceLocator.ResourceAdapter extends EContentAdapter
content adapter
that listens to the resource set
for resources
being added and removed,
as well as to the resources in the resource set for changes to the resource's URI
.Adapter.Internal
target
Constructor and Description |
---|
ResourceSetImpl.MappedResourceLocator.ResourceAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
notifyChanged(Notification notification)
|
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 |
unsetTarget(Resource target)
Handles undoing the installation of the adapter from a Resource
by removing the adapter from each of the directly contained objects.
|
addAdapter, basicSetTarget, basicUnsetTarget, handleContainment, removeAdapter, resolve, selfAdapt, setTarget, setTarget, setTarget, unsetTarget, unsetTarget, unsetTarget, unsetTarget
getTarget, isAdapterForType
public ResourceSetImpl.MappedResourceLocator.ResourceAdapter()
public void notifyChanged(Notification notification)
notifyChanged
in interface Adapter
notifyChanged
in class EContentAdapter
notification
- a description of the change.protected void setTarget(Resource target)
EContentAdapter
setTarget
in class EContentAdapter
protected void unsetTarget(Resource target)
EContentAdapter
unsetTarget
in class EContentAdapter