tmf: Fix concurrency issues in histogram view
authorPatrick Tasse <patrick.tasse@gmail.com>
Wed, 4 Dec 2013 22:04:59 +0000 (17:04 -0500)
committerPatrick Tasse <patrick.tasse@gmail.com>
Fri, 6 Dec 2013 14:35:41 +0000 (09:35 -0500)
commit80c930fa8659b548958dba6aedb84016bf1ca296
tree28255c327bc27a34afc2faaa8f17af77c123df2f
parent31d6440d20ab285e66889c1d44e4ec3283749567
tmf: Fix concurrency issues in histogram view

- Make sure signals sent to itself with the signal throttler are
executed in the UI thread, so that Histogram.clear() doesn't
concurrently set fScaledData to null

- Clear the drag state when Histogram.clear() is called so that
subsequent mouse operations don't need to protect from clear during drag

- Prevent the trace updated signal from constantly resetting the
histogram range so that trace indexing doesn't interfere with drag move
and drag zoom

- Fix time range in full trace histogram being offset incorrectly when
new trace events cause the scale to change during dragging

- Fix mouse wheel zoom out snapped to current zoom start time in time
range histogram when trace updated

Change-Id: I1c6e71d9c7f26dec93192768e99306fdbb978dd1
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/19341
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/histogram/FullTraceHistogram.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/histogram/Histogram.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/histogram/HistogramView.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/histogram/TimeRangeHistogram.java
This page took 0.027677 seconds and 5 git commands to generate.