tmf: Allow shift key to extend selection in time graph
authorPatrick Tasse <patrick.tasse@gmail.com>
Wed, 6 May 2015 21:02:47 +0000 (17:02 -0400)
committerPatrick Tasse <patrick.tasse@gmail.com>
Mon, 11 May 2015 20:06:46 +0000 (16:06 -0400)
commit33fa1fc78bd21ee24657cfb6a9061d6dd46d07bd
tree625a7a7c815d687e9c5d133748f8ebc805819e17
parent85203d74461d41e250269b0380534fb163f1ff52
tmf: Allow shift key to extend selection in time graph

- Extend the selection range when shift key is pressed while pressing
left or right keys.
- Extend the selection range when shift key is pressed while running the
next event, previous event, follow arrow fwd, follow arrow bwd actions.
- Update status line when the above actions modify the selection.
- Make sure the selection end time is visible when modifying the
selection range.
- Show status line when time graph control has focus with mouse outside
of the control bounds, but without displaying the cursor time.
- Highlight the selected state at the selection end time instead of the
selection start time.
- Remove the margin factor that made 'ensure visible' change the time
range when the selection was near the left or right margin.

Change-Id: Iee1dbbbc56e052de1a48bc638355e0c7dc126c2a
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/47381
Reviewed-by: Hudson CI
org.eclipse.tracecompass.tmf.ui.tests/widgetStubs/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/test/stub/views/TsfTraceAnalysisView.java
org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/TimeGraphViewer.java
org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/widgets/TimeGraphControl.java
This page took 0.025534 seconds and 5 git commands to generate.