1
/*******************************************************************************
2
* Copyright (c) 2011 Ericsson
4
* All rights reserved. This program and the accompanying materials are
5
* made available under the terms of the Eclipse Public License v1.0 which
6
* accompanies this distribution, and is available at
7
* http://www.eclipse.org/legal/epl-v10.html
10
* Patrick Tasse - Initial API and implementation
11
*******************************************************************************/
13
package org.eclipse.linuxtools.tmf.core.signal;
15
import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;
16
import org.eclipse.linuxtools.tmf.core.event.TmfTimeRange;
17
import org.eclipse.linuxtools.tmf.core.trace.TmfExperiment;
20
* Experiment time range update
23
* @author Francois Chouinard
25
public class TmfExperimentRangeUpdatedSignal extends TmfSignal {
27
private final TmfExperiment<? extends ITmfEvent> fExperiment;
28
private final TmfTimeRange fTimeRange;
30
public TmfExperimentRangeUpdatedSignal(Object source, TmfExperiment<? extends ITmfEvent> experiment, TmfTimeRange range) { // , ITmfTrace trace) {
32
fExperiment = experiment;
36
public TmfExperiment<? extends ITmfEvent> getExperiment() {
40
public TmfTimeRange getRange() {
45
* @see java.lang.Object#toString()
48
@SuppressWarnings("nls")
49
public String toString() {
50
return "[TmfExperimentRangeUpdatedSignal (" + fExperiment.toString() + ", " + fTimeRange.toString() + ")]";