File file = new File(testTrace.getPath());
String path = file.getAbsolutePath();
final IPath pathString = Path.fromOSString(path);
return pathString.lastSegment();
}
<BUG>public static void deleteProject(TmfProjectElement project) {
ITmfProjectModelElement[] experiments = project.getExperimentsFolder().getChildren().toArray(new ITmfProjectModelElement[0]);
for (ITmfProjectModelElement element : experiments) {</BUG>
if (element instanceof TmfExperimentElement) {
TmfExperimentElement experiment = (TmfExperimentElement) element;

File file = new File(testTrace.getPath());
String path = file.getAbsolutePath();
final IPath pathString = Path.fromOSString(path);
return pathString.lastSegment();
}
public static void deleteProject(TmfProjectElement project) {
TmfExperimentFolder experimentsFolder = project.getExperimentsFolder();
if (experimentsFolder != null) {
ITmfProjectModelElement[] experiments = experimentsFolder.getChildren().toArray(new ITmfProjectModelElement[0]);
for (ITmfProjectModelElement element : experiments) {
if (element instanceof TmfExperimentElement) {
TmfExperimentElement experiment = (TmfExperimentElement) element;
