IProject iProject = localProjects.get(projectID);
if (isPartialRemoteProject(projectID)) {
List<IPath> paths = getRemoteFileList(projectID).getPaths();
List<IResource> dependentResources = new ArrayList<IResource>();
for (IPath iPath : paths) {
dependentResources.add(iProject.findMember(iPath));
}
sessionManager.getSarosSession().addSharedResources(
iProject, projectID, dependentResources);
} else {
sessionManager.getSarosSession().addSharedResources(