tmf: Allow negative time range selection
authorPatrick Tasse <patrick.tasse@gmail.com>
Wed, 6 May 2015 18:06:17 +0000 (14:06 -0400)
committerPatrick Tasse <patrick.tasse@gmail.com>
Mon, 11 May 2015 20:06:29 +0000 (16:06 -0400)
commit85203d74461d41e250269b0380534fb163f1ff52
tree88f95ec8a54432591662121e4ccaf71f130b9483
parent1ee38cee7f9c9e7e631547f63731d125e371e11e
tmf: Allow negative time range selection

This patch allows the selection end time to be lower than the selection
start time, better representing the user selection.

It will help to correctly update the end boundary using atomic
operations (keyboard or button) that extend a selection to the left of
the selection start.

The status line message delta is updated to allow a negative value.

Change-Id: I5228441cb049487783d4b0fdcba7ef766077677f
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/47380
org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/viewers/events/TmfEventsTable.java
org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/widgets/TimeGraphControl.java
org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/widgets/TimeGraphScale.java
This page took 0.027492 seconds and 5 git commands to generate.