SuccessChanges

Summary

  1. Add tracecompass-incubator-jdk11.Jenkinsfile (details)
Commit 12cd5e5cc1ae876f5cdb2ea5f38d8e325636e2be by Bernd Hufmann
Add tracecompass-incubator-jdk11.Jenkinsfile

Change-Id: I5482c8ca8e47b5c7d33404fa09b2a955798fdbef
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
The file was addedjenkins/pipelines/tracecompass-incubator-jdk11.Jenkinsfile

Summary

  1. tmf: Improve stability of AbstractTmfTreeViewer on model update (details)
Commit 663b59dc27800d39b8500807eeaa06450c95b564 by Patrick Tasse
tmf: Improve stability of AbstractTmfTreeViewer on model update

Use a fixed root element per trace as tree viewer input. When the tree
viewer input is not changed and refresh() is called, the tree updates
itself and maintains the tree items states as much as possible.

This is done by checking the equality of the tree viewer's elements. Use
an ElementComparer that considers element with the same model id to be
equal.

Add method getRoot() to allow sub-classes access to the trace's root
element.

Create the root element when the trace is first loaded, and discard it
when the trace is closed.

Update method updateTreeUI() to be able to be used whether the new input
is the same object or not. If it is not, update the tree with
setInput(), but if it is the same object, simply refresh the tree.

Pack the tree columns only when a new input object is used. This will
prevent the user's manual adjustment of column width to be unaffected by
an update of the tree model or sorting order.

Because method modelToTree() in AbstractSelectTreeViewer/2 does not have
access to the trace instance and to avoid changing API, get its returned
tree model's root children and reassign them to the proper trace's root
element.

Change-Id: Icf65b8d624f43988bb44bb120b72eb275fb0a291
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/169994
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>
The file was modifiedtmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/viewers/tree/AbstractSelectTreeViewer2.java
The file was modifiedtmf/org.eclipse.tracecompass.tmf.ui/pom.xml
The file was modifiedtmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/viewers/tree/AbstractSelectTreeViewer.java
The file was modifiedanalysis/org.eclipse.tracecompass.analysis.timing.ui/src/org/eclipse/tracecompass/analysis/timing/ui/views/segmentstore/statistics/AbstractSegmentsStatisticsViewer.java
The file was modifiedtmf/org.eclipse.tracecompass.tmf.ui/META-INF/MANIFEST.MF
The file was modifiedtmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/viewers/tree/AbstractTmfTreeViewer.java