[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [linuxtools-dev] How to show the correspond Itmes in AbstractTimeGraph viewer when selecting time range in histogram viewer?
|
Hello
The class AbstractTimeGraphView already implements the signal handler
for signal TmfTimeSynchSignal which is used by views to synchronize on
selected time range (see method synchToTime()). By default, it selects
the time range in the view and draws the selection range. If you would
like to do additional things (e.g. read the event details from the trace
corresponding start time or end time) you need to overwrite the method
(syncToTime()) in our extension and implement it according to your use
case.
The TimeGraphCombo doesn't implement any signal handlers. So, if you are
using TimeGraphCombo alone, you will have to implement the signal handlers.
If you have more questions please let us know.
Best Regards
Bernd
On 08/07/2014 05:56 AM, zhenyu.ren wrote:
Hi,All
I noticed that when I select a time range in TimeRangeHistogram ,the correspond items will be displayed in Events viewer.It seems that the key is TmfVirutalTable can respond to CurrentTimeUpdated and set related tableItems .So, is there any possible that AbstracttimeGraph/TimeGraphCombo can also displayed related entries just like TmfVirutualTable does? If so , does anyone give me any advice on how to do that?
Thanks in advance
zhenyu.ren
_______________________________________________
linuxtools-dev mailing list
linuxtools-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev