Commit | Line | Data |
---|---|---|
4ab33d2b AO |
1 | /******************************************************************************* |
2 | * Copyright (c) 2009 Ericsson | |
3 | * | |
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 | |
8 | * | |
9 | * Contributors: | |
165c977c | 10 | * Francois Chouinard - Initial API and implementation |
4ab33d2b AO |
11 | *******************************************************************************/ |
12 | ||
e31e01e8 | 13 | package org.eclipse.linuxtools.tmf.experiment; |
4ab33d2b | 14 | |
e31e01e8 | 15 | import org.eclipse.linuxtools.tmf.event.TmfEvent; |
50adc88e FC |
16 | import org.eclipse.linuxtools.tmf.signal.TmfSignal; |
17 | ||
4ab33d2b | 18 | /** |
62d1696a | 19 | * <b><u>TmfExperimentSelectedSignal</u></b> |
4ab33d2b AO |
20 | * <p> |
21 | * TODO: Implement me. Please. | |
22 | */ | |
951d134a | 23 | public class TmfExperimentSelectedSignal<T extends TmfEvent> extends TmfSignal { |
50adc88e | 24 | |
951d134a | 25 | private final TmfExperiment<T> fExperiment; |
50adc88e | 26 | |
951d134a | 27 | public TmfExperimentSelectedSignal(Object source, TmfExperiment<T> experiment) { |
50adc88e | 28 | super(source); |
62d1696a | 29 | fExperiment = experiment; |
50adc88e | 30 | } |
4ab33d2b | 31 | |
e31e01e8 | 32 | public TmfExperiment<? extends TmfEvent> getExperiment() { |
62d1696a | 33 | return fExperiment; |
50adc88e | 34 | } |
8d2e2848 FC |
35 | |
36 | @Override | |
37 | public String toString() { | |
9f584e4c | 38 | return "[TmfExperimentSelectedSignal (" + fExperiment.getName() + ")]"; |
8d2e2848 | 39 | } |
4ab33d2b | 40 | } |