invisibleRoot = new TreeObject(new String());
Map<IResource, ResourceTreeObject> treeObjectMap = new HashMap<IResource, ResourceTreeObject>();
for (IResource resource : resources) {
treeObjectMap.put(resource, new OOResourceTreeObject(resource));
IResource current = resource;
while (current != null) {
IResource parent = current.getParent();
ResourceTreeObject parentTreeObject = treeObjectMap.get(parent);