tmf: Fix mouse actions disabled when no visible events in histogram
authorPatrick Tasse <patrick.tasse@gmail.com>
Wed, 4 Dec 2013 18:29:10 +0000 (13:29 -0500)
committerPatrick Tasse <patrick.tasse@gmail.com>
Fri, 6 Dec 2013 14:10:15 +0000 (09:10 -0500)
commit31d6440d20ab285e66889c1d44e4ec3283749567
tree1c2e2b66a48d412bc94c7d3d144a92fe8e6504b8
parentbdc1590e7af16539fe484550162e94b36850af3f
tmf: Fix mouse actions disabled when no visible events in histogram

Change conditions from zero events to empty time window to detect unused
histogram and disable mouse actions.

Also removes some unnecessary checks.

Change-Id: I761473005d6b004101741c535e8ec98a2bc0870f
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/19324
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/TimeRangeHistogram.java
This page took 0.026423 seconds and 5 git commands to generate.