Commit | Line | Data |
---|---|---|
8c8bf09f ASL |
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: | |
10 | * Francois Chouinard - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
6c13869b | 13 | package org.eclipse.linuxtools.tmf.core.signal; |
8c8bf09f | 14 | |
72f1e62a | 15 | import org.eclipse.linuxtools.tmf.core.event.ITmfEvent; |
6c13869b | 16 | import org.eclipse.linuxtools.tmf.core.experiment.TmfExperiment; |
8c8bf09f ASL |
17 | |
18 | /** | |
19 | * <b><u>TmfExperimentUpdatedSignal</u></b> | |
20 | * <p> | |
21 | * TODO: Implement me. Please. | |
22 | */ | |
23 | public class TmfExperimentUpdatedSignal extends TmfSignal { | |
24 | ||
72f1e62a | 25 | private final TmfExperiment<? extends ITmfEvent> fExperiment; |
9b635e61 | 26 | // private final ITmfTrace fTrace; |
8c8bf09f | 27 | |
72f1e62a | 28 | public TmfExperimentUpdatedSignal(Object source, TmfExperiment<? extends ITmfEvent> experiment) { // , ITmfTrace trace) { |
8c8bf09f ASL |
29 | super(source); |
30 | fExperiment = experiment; | |
9b635e61 | 31 | // fTrace = trace; |
8c8bf09f ASL |
32 | } |
33 | ||
72f1e62a | 34 | public TmfExperiment<? extends ITmfEvent> getExperiment() { |
8c8bf09f ASL |
35 | return fExperiment; |
36 | } | |
37 | ||
9b635e61 FC |
38 | // public ITmfTrace getTrace() { |
39 | // return fTrace; | |
40 | // } | |
8c8bf09f ASL |
41 | |
42 | /* (non-Javadoc) | |
43 | * @see java.lang.Object#toString() | |
44 | */ | |
45 | @Override | |
3b38ea61 | 46 | @SuppressWarnings("nls") |
8c8bf09f | 47 | public String toString() { |
9b635e61 | 48 | return "[TmfExperimentUpdatedSignal (" + fExperiment.toString() /*+ ", " + fTrace.toString()*/ + ")]"; |
8c8bf09f ASL |
49 | } |
50 | ||
51 | } |