tmf: Add/update '-', '+' and '*' key handling in TimeGraphViewer
authorBernd Hufmann <Bernd.Hufmann@ericsson.com>
Wed, 13 Apr 2016 01:40:10 +0000 (21:40 -0400)
committerBernd Hufmann <bernd.hufmann@ericsson.com>
Thu, 21 Apr 2016 17:43:12 +0000 (13:43 -0400)
commit8b5167225f2211bae5310374d371fc47987667e7
tree8285b5943234dd10b768cf7c12c69eb2a5963e21
parentee96206fc119baa23e5a4a1c2b87106be5c13587
tmf: Add/update '-', '+' and '*' key handling in TimeGraphViewer

The handling of '-'and '+' key have been updated when the mouse is over
the namespace. Before they were used for time zooming regardless of the
mouse position. The handling of '*' key has been added when the mouse
is over the namespace.

When the mouse is over the namespace, pressing the
- key '-' will collapse recursively selected entry
- key '+' will expand selected entry
- key '*' will expand selected entry to the level with at least one
  collapsed entry

This patch is to align the keystroke handling to the TimeGraphCombo.

Change-Id: I964168bd1aa388430775055a39f625beaffb5985
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/70583
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/TimeGraphViewer.java
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/widgets/TimeGraphControl.java
This page took 0.059351 seconds and 5 git commands to generate.