// Add pre-populated content
for(Resource r : resourceSet.getResources())
containerToURIMap.put(container, r.getURI());
IAllContainersState containersState = factory.getContainersState(
Lists.newArrayList(container), containerToURIMap);
resourceSet.eAdapters().add(new DelegatingIAllContainerAdapter(containersState));
}