This method is called from StartTraceManager.run().
* CommonAction.resetGUIElements() - new private method extracted from clear().
* CommonAction.clear - call resetGUIElements() only in GUI mode.
Change-Id: I821dc75e4c52160f235dce4e814b7177ad2a2971
}
}
+ if (Global.isGUIMode()) {
+ resetGUIElements();
+ }
+
+ // clear each data checker
+ AnalyzerManager.clear();
+ }
+
+ /**
+ * Reset GUI elements: page and toolbar timer
+ */
+ private static void resetGUIElements() {
// reset page
// reset toolbar timer
Display.getDefault().syncExec(new Runnable() {
Toolbar.INSTANCE.clearTimer();
}
});
-
- // clear each data checker
- AnalyzerManager.clear();
}
}