Rename xxx.lttng to xxx.lttng.core
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf / src / org / eclipse / linuxtools / tmf / signal / TmfExperimentDisposedSignal.java
1 /*******************************************************************************
2 * Copyright (c) 2011 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.signal;
14
15 import org.eclipse.linuxtools.tmf.event.TmfEvent;
16 import org.eclipse.linuxtools.tmf.experiment.TmfExperiment;
17
18 /**
19 * <b><u>TmfExperimentDisposedSignal</u></b>
20 * <p>
21 * TODO: Implement me. Please.
22 */
23 public class TmfExperimentDisposedSignal<T extends TmfEvent> extends TmfSignal {
24
25 private final TmfExperiment<T> fExperiment;
26
27 public TmfExperimentDisposedSignal(Object source, TmfExperiment<T> experiment) {
28 super(source);
29 fExperiment = experiment;
30 }
31
32 public TmfExperiment<? extends TmfEvent> getExperiment() {
33 return fExperiment;
34 }
35
36 @Override
37 @SuppressWarnings("nls")
38 public String toString() {
39 return "[TmfExperimentDisposedSignal (" + fExperiment.getName() + ")]";
40 }
41 }
This page took 0.031446 seconds and 5 git commands to generate.