/**
* Handles installation of the adapter on a Resource
* by adding the adapter to each of the directly contained objects.
*/
/**
* Handles undoing the installation of the adapter from a Resource
* by removing the adapter from each of the directly contained objects.
*/
protected void [[#variable171fb0a0]](Resource target) {
[[#variable17200680]](target);
List<EObject> contents = target.getContents();
for (int i = 0, size = contents.size(); i < size; ++i) {
Notifier notifier = contents.get(i);
[[#variable171fb000]](notifier);
}
}
/**
* Handles installation of the adapter on a ResourceSet
* by adding the adapter to each of the directly contained objects.
*/
/**
* Handles undoing the installation of the adapter from a ResourceSet
* by removing the adapter from each of the directly contained objects.
*/
protected void [[#variable171fb0a0]](ResourceSet target) {
[[#variable17200680]](target);
List<Resource> resources = target.getResources();
for (int i = 0; i < resources.size(); ++i) {
Notifier notifier = resources.get(i);
[[#variable171fb000]](notifier);
}
}
|