Fix a pile of Javadoc warnings
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / signal / TmfExperimentSelectedSignal.java
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
13 package org.eclipse.linuxtools.tmf.core.signal;
14
15 import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;
16 import org.eclipse.linuxtools.tmf.core.trace.TmfExperiment;
17
18 /**
19 * New experiment has been selected
20 *
21 * @param <T> The experiment event type
22 *
23 * @version 1.0
24 * @author Francois Chouinard
25 */
26 public class TmfExperimentSelectedSignal<T extends ITmfEvent> extends TmfSignal {
27
28 private final TmfExperiment<T> fExperiment;
29
30 /**
31 * Constructor
32 *
33 * @param source
34 * Object sending this signal
35 * @param experiment
36 * The experiment that was selected
37 */
38 public TmfExperimentSelectedSignal(Object source, TmfExperiment<T> experiment) {
39 super(source);
40 fExperiment = experiment;
41 }
42
43 /**
44 * @return The experiment
45 */
46 public TmfExperiment<? extends ITmfEvent> getExperiment() {
47 return fExperiment;
48 }
49
50 @Override
51 @SuppressWarnings("nls")
52 public String toString() {
53 return "[TmfExperimentSelectedSignal (" + fExperiment.getName() + ")]";
54 }
55 }
This page took 0.031164 seconds and 5 git commands to generate.