Fix a pile of Javadoc warnings
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / signal / TmfExperimentDisposedSignal.java
CommitLineData
8e31f2d2
FC
1/*******************************************************************************
2 * Copyright (c) 2011 Ericsson
0283f7ff 3 *
8e31f2d2
FC
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
0283f7ff 8 *
8e31f2d2
FC
9 * Contributors:
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
12
6c13869b 13package org.eclipse.linuxtools.tmf.core.signal;
8e31f2d2 14
72f1e62a 15import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;
9e0640dc 16import org.eclipse.linuxtools.tmf.core.trace.TmfExperiment;
8e31f2d2
FC
17
18/**
4b7b3670 19 * Experiemnt has been disposed
0283f7ff
FC
20 *
21 * @param <T> The experiment event type
22 *
4b7b3670
FC
23 * @version 1.0
24 * @author Francois Chouinard
8e31f2d2 25 */
72f1e62a 26public class TmfExperimentDisposedSignal<T extends ITmfEvent> extends TmfSignal {
8e31f2d2
FC
27
28 private final TmfExperiment<T> fExperiment;
4f8ca6a1
AM
29
30 /**
31 * Constructor
32 *
33 * @param source
34 * Object sending this signal
35 * @param experiment
36 * Experiment that was disposed
37 */
8e31f2d2
FC
38 public TmfExperimentDisposedSignal(Object source, TmfExperiment<T> experiment) {
39 super(source);
40 fExperiment = experiment;
41 }
42
4f8ca6a1
AM
43 /**
44 * @return Reference to the disposed experiment concerning this signal
45 */
72f1e62a 46 public TmfExperiment<? extends ITmfEvent> getExperiment() {
8e31f2d2
FC
47 return fExperiment;
48 }
49
50 @Override
51 @SuppressWarnings("nls")
52 public String toString() {
53 return "[TmfExperimentDisposedSignal (" + fExperiment.getName() + ")]";
54 }
55}
This page took 0.034431 seconds and 5 git commands to generate.