resource = model.eResource();
searchPath = searchPathProvider.get(resource);
// clear names remembered in the past
PPImportedNamesAdapter importedNames = PPImportedNamesAdapterFactory.eINSTANCE.adapt(resource);
importedNames.clear();
IResourceDescriptions descriptionIndex = indexProvider.getResourceDescriptions(resource);
IResourceDescription descr = descriptionIndex.getResourceDescription(resource.getURI());
if(descr == null) {