default:
break;
}
}
TreePath parent = new TreePath(segments.toArray());
result.add(parent.createChildPath(data.get(ILaunchData.COUNT)));
result.add(parent.createChildPath(data.get(ILaunchData.DURATION)));
for (IFile file : data.get(ILaunchData.FILES)) {
TreePath filePath = parent;
IProject project = file.getProject();
filePath = filePath.createChildPath(project);
IContainer parentFolder = file.getParent();
if (!project.equals(parentFolder)) {
filePath = filePath.createChildPath(parentFolder);
}
filePath = filePath.createChildPath(file);
result.add(filePath);
}
}
return result;
}