Class TraceScriptingUI
java.lang.Object
org.eclipse.tracecompass.incubator.scripting.ui.trace.TraceScriptingUI
Trace scripting module that allows to interact with the Trace Compass UI to
open an import traces.
- Author:
- Benjamin Saint-Cyr
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TraceScriptingUI
public TraceScriptingUI()
-
-
Method Details
-
openTrace
public ITmfTrace openTrace(String projectName, String traceName, @ScriptParameter(defaultValue="false") boolean isExperiment) throws FileNotFoundException Fully open a trace in the Trace Compass application, ie it will open as if the user had opened it in the UI, running all automatic analyses, etc. If the trace is successfully opened, it becomes the currently active trace.- Parameters:
projectName
- The name of the projecttraceName
- the trace to openisExperiment
- is the trace an experiment- Returns:
- The trace
- Throws:
FileNotFoundException
- Exception thrown if the file or the trace doesn't exist
-