Add transparent events to time graph
authorPatrick Tasse <patrick.tasse@gmail.com>
Tue, 26 Feb 2013 19:22:09 +0000 (14:22 -0500)
committerPatrick Tasse <patrick.tasse@gmail.com>
Tue, 26 Feb 2013 21:02:24 +0000 (16:02 -0500)
commitad128fd87bb0ecf56b11d3fb74a00dc3193cd28b
treec001ed619c23f5434c448e1398463ffbf8472e9c
parentecc00eebe022e4e3758fa6fa250c7b257bd0fa12
Add transparent events to time graph

The time graph presentation provider interface is updated to define two
new constants for the state table index. When TRANSPARENT value is
returned, only the event border will be drawn, the event body will
remain transparent (empty) to allow the pixel to take the color of the
next visible event on the same pixel. The INVISIBLE value is defined,
although the functionality was previously supported. When INVISIBLE
value is returned, the event is not drawn at all and neither are its
borders.

The Time Chart view is updated to use the INVISIBLE value to hide
filtered events.

Change-Id: Ide68c4237db60824094f1f16739341cbf5e69860
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/10186
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Hudson CI
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/timechart/TimeChartAnalysisProvider.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/timechart/TimeChartView.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/ITimeGraphPresentationProvider.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/model/TimeEvent.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/widgets/TimeGraphControl.java
This page took 0.026013 seconds and 5 git commands to generate.