return tracesFolderItem;
}
public static void clearTracesFolder(SWTWorkbenchBot bot, String projectName) {
IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
TmfProjectElement tmfProject = TmfProjectRegistry.getProject(project, false);
<BUG>TmfTraceFolder tracesFolder = tmfProject.getTracesFolder();
try {</BUG>
for (TmfTraceElement traceElement : tracesFolder.getTraces()) {
traceElement.delete(null);
}

return tracesFolderItem;
}
public static void clearTracesFolder(SWTWorkbenchBot bot, String projectName) {
IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
TmfProjectElement tmfProject = TmfProjectRegistry.getProject(project, false);
TmfTraceFolder tracesFolder = tmfProject.getTracesFolder();
if (tracesFolder == null) {
return;
}
try {
for (TmfTraceElement traceElement : tracesFolder.getTraces()) {
traceElement.delete(null);
}
