break;
}
}
if (activity instanceof FolderActivity) {
FolderActivity folderActivity = ((FolderActivity) activity);
IFolder folder = folderActivity.getPath().getFolder();
IProject iProject = folder.getProject();
if (isCompletelyShared(iProject))
return true;
List<IResource> resources = getSharedResources(iProject);
if (resources != null) {
switch (folderActivity.getType()) {
case Created:
if (!resources.contains(folder)
&& isShared(folder.getParent())) {
resources.add(folder);
projectMapper.addResourceMapping(iProject, resources);