Re: [linuxtools-dev] TMF: drawing bookmarks on Timegraphs

2013-10-25 Thread Alexandre Montplaisir
>From what I understood from Xavier's demo, he added it to the base TimeGraph view, so that all views deriving from it (like the Control Flow view for example) would display the bookmarks as a vertical black line, making them a bit more visible overall. It looked nice, as did his custom Bookmarks V

Re: [linuxtools-dev] TMF: drawing bookmarks on Timegraphs

2013-10-25 Thread Patrick Tasse
Hi Xavier, I'm a bit confused, is this for the TimeChartView from the framework, or a modified one you use? Because the Time Chart view already does show bookmarks as a little banner above the corresponding events (see the code in TimeChartView$DecorateThread). It also doesn't have a getExperimen

[linuxtools-dev] TMF: drawing bookmarks on Timegraphs

2013-10-25 Thread Xavier Raynaud
Hi Alexandre, Following our discussions at #linuxcon, please find hereafter the code I wrote to draw bookmarks on TMF timegraphs. I just override TimeGraphPresentationProvider.postDrawControl() method. However, this I also need to know the current experiment when this method is called, I've a