tmf: Support markers in time graph control
authorPatrick Tasse <patrick.tasse@gmail.com>
Tue, 22 Sep 2015 20:50:53 +0000 (16:50 -0400)
committerPatrick Tasse <patrick.tasse@gmail.com>
Fri, 25 Sep 2015 20:27:47 +0000 (16:27 -0400)
commit56b43ab24df69a12550d1d376e9afe358b4100f7
tree00c0f8cffdff144afa0f81bf4e981b8f9e7dcd05
parent1c67fff354701fe3f9d9fe2a2b2a2f64e892ba5c
tmf: Support markers in time graph control

The time graph can be provided with a list of markers.

Each marker has a time, duration, and color. The color can have an alpha
value for transparency. A marker can be specific to a particular time
graph entry, otherwise it is drawn for the full height of the control. A
marker can have an optional text label. A marker can be drawn in the
foreground (above the entry's time events) or in the background (below
the entry's time events).

The drawing of markers can be turned on or off globally.

Change-Id: I15d19925ab5371f21fbaf81d51182d17868e92a6
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/56472
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/model/IMarkerEvent.java [new file with mode: 0644]
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/model/MarkerEvent.java [new file with mode: 0644]
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/widgets/TimeGraphControl.java
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/widgets/TimeGraphScale.java
This page took 0.025849 seconds and 5 git commands to generate.