Fix mouse wheel zoom and text control value handling in histogram view
authorPatrick Tasse <patrick.tasse@gmail.com>
Thu, 16 May 2013 19:01:43 +0000 (15:01 -0400)
committerPatrick Tasse <patrick.tasse@gmail.com>
Thu, 23 May 2013 17:53:16 +0000 (13:53 -0400)
commit65cdf787d23f588ad12414a5384b2723eedeccb1
tree37ce7e0d02c39d1798aacae5ddf1b08040ad7867
parent639181baf7514cfd2d8bb324e1bcea3e0d0b289b
Fix mouse wheel zoom and text control value handling in histogram view

Partial fix for bug 384423.

Add focus gained listener to child text controls of Histogram composite
that gives focus to canvas which handles mouse wheel events.

Provide the HistogramZoom instance owned by the full trace histogram as
a mouse wheel listener to the time range text control.

Update time range text control to prevent unnecessary reloading of the
time range histogram model when focus is lost without changing value.

Update current time control to prevent resetting of current event on
parsing error.

Fix possible SWT exception in histogram text control during Eclipse
shutdown.

Change-Id: Iefd4db5eafbe54e9386a9ec23b4ac1ecd2ce2a1b
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/12902
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
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/HistogramCurrentTimeControl.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/histogram/HistogramTextControl.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/histogram/HistogramTimeRangeControl.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/HistogramZoom.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/histogram/TimeRangeHistogram.java
This page took 0.026664 seconds and 5 git commands to generate.