1 /*******************************************************************************
2 * Copyright (c) 2009 Ericsson
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
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.core
.signal
;
15 import org
.eclipse
.linuxtools
.tmf
.core
.trace
.TmfExperiment
;
18 * New experiment has been selected
21 * @author Francois Chouinard
23 public class TmfExperimentSelectedSignal
extends TmfSignal
{
25 private final TmfExperiment fExperiment
;
31 * Object sending this signal
33 * The experiment that was selected
35 public TmfExperimentSelectedSignal(Object source
, TmfExperiment experiment
) {
37 fExperiment
= experiment
;
41 * @return The experiment
43 public TmfExperiment
getExperiment() {
48 @SuppressWarnings("nls")
49 public String
toString() {
50 return "[TmfExperimentSelectedSignal (" + fExperiment
.getName() + ")]";