use of org.eclipse.tracecompass.tmf.core.signal.TmfWindowRangeUpdatedSignal in project tracecompass by tracecompass.
the class HistogramView method updateTimeRange.
/**
* Broadcast TmfSignal about new selection time range.
* @param startTime the new start time
* @param endTime the new end time
*/
void updateTimeRange(long startTime, long endTime) {
if (fTrace != null) {
// Build the new time range; keep the current time
TmfTimeRange timeRange = new TmfTimeRange(TmfTimestamp.fromNanos(startTime), TmfTimestamp.fromNanos(endTime));
fTimeSpanControl.setValue(endTime - startTime);
updateDisplayedTimeRange(startTime, endTime);
// Send the FW signal
TmfWindowRangeUpdatedSignal signal = new TmfWindowRangeUpdatedSignal(this, timeRange, fTrace);
fTimeRangeSyncThrottle.queue(signal);
}
}
Aggregations