+ /**
+ * Delete the supplementary files of a given trace.
+ *
+ * @param trace
+ * The trace for which the supplementary files are to be deleted
+ * @since 2.2
+ */
+ public static void deleteSupplementaryFiles(ITmfTrace trace) {
+ try {
+ FileUtils.cleanDirectory(new File(TmfTraceManager.getSupplementaryFileDir(trace)));
+ } catch (IOException e) {
+ Activator.logError("Error deleting supplementary files for trace " + trace.getName(), e); //$NON-NLS-1$
+ }
+ refreshSupplementaryFiles(trace);
+ }
+