dependentResources.addAll(selectedResources);
selectedResources.clear();
}
}
if (!projectMapper.isShared(project)) {
projectMapper.addMapping(projectID, project, new SharedProject(
project, this));
projectMapper.addResourceMapping(project, dependentResources);
} else {
List<IResource> resources = getSharedResources(project);
if (resources != null && dependentResources != null) {