Re-structure LTTng sub-project as per the Linux Tools guidelines
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / signal / TmfTraceSelectedSignal.java
1 /*******************************************************************************
2 * Copyright (c) 2010 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 * Patrick Tasse - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.linuxtools.tmf.core.signal;
14
15 import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace;
16
17 /**
18 * <b><u>TmfTraceSelectedSignal</u></b>
19 */
20 public class TmfTraceSelectedSignal extends TmfSignal {
21
22 private final ITmfTrace fTrace;
23
24 public TmfTraceSelectedSignal(Object source, ITmfTrace trace) {
25 super(source);
26 fTrace = trace;
27 }
28
29 public ITmfTrace getTrace() {
30 return fTrace;
31 }
32
33 @Override
34 @SuppressWarnings("nls")
35 public String toString() {
36 return "[TmfTraceSelectedSignal (" + fTrace.getName() + ")]";
37 }
38 }
This page took 0.031229 seconds and 5 git commands to generate.