continue; //skip it if its not a folder
IFolder folder = (IFolder)resource;
IFile file = folder.getFile(ClusterCoordinates.FILE_NAME);
if (!file.exists())
continue; //skip it if the folder does not contain the coordinates file
ClusterCoordinates coordinates = new ClusterCoordinates(file.getContents());
elements.add(coordinates);
}
} catch (CoreException e) {
Activator.log(IStatus.ERROR, "Cluster List Content Provider error", e);
}