Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scripting, Bug 580576: Fix TmfScriptAnalysis reads
Extract the reading of analysis state systems from executeAnalysis, to read them also when getting all state systems for viewing purposes. Fix the initialisation of the State System Explorer view this way, upon opening it while already having state systems to readily get from disk. Before this change, an EASE scripted analysis had to be run by the user, so that State System Explorer could show this resulting data. With this change, upon already having such data on disk, then that view now shows it properly, right after opening up. This assumes the possibility of state system data on disk maybe changing outside of current user's flows. Hence this change always (re)reads that data upon getting all state systems again the first time. Again, this change covers the case of properly initializing the SSE view upon its first opening, solely. There is still no re-read if the data is deemed as cached enough, in which case reopening the trace is required to force reading again. Change-Id: I8484a8825fbff47e16228c8938c911bdd292c01f Signed-off-by: Marco Miller <marco.miller@ericsson.com> Reviewed-on: https://git.eclipse.org/r/c/tracecompass.incubator/org.eclipse.tracecompass.incubator/+/197318 Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org> Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
- Loading branch information