2010-11-09 Francois Chouinard <fchouinard@gmail.com> Contribution for Bug315307
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf / src / org / eclipse / linuxtools / tmf / signal / TmfTraceSelectedSignal.java
CommitLineData
abfad0aa
FC
1/*******************************************************************************\r
2 * Copyright (c) 2010 Ericsson\r
3 * \r
4 * All rights reserved. This program and the accompanying materials are\r
5 * made available under the terms of the Eclipse Public License v1.0 which\r
6 * accompanies this distribution, and is available at\r
7 * http://www.eclipse.org/legal/epl-v10.html\r
8 * \r
9 * Contributors:\r
10 * Patrick Tasse - Initial API and implementation\r
11 *******************************************************************************/\r
12\r
13package org.eclipse.linuxtools.tmf.signal;\r
14\r
15import org.eclipse.linuxtools.tmf.trace.ITmfTrace;\r
16\r
17/**\r
18 * <b><u>TmfTraceSelectedSignal</u></b>\r
19 */\r
20public class TmfTraceSelectedSignal extends TmfSignal {\r
21\r
22 private final ITmfTrace fTrace;\r
23 \r
24 public TmfTraceSelectedSignal(Object source, ITmfTrace trace) {\r
25 super(source);\r
26 fTrace = trace;\r
27 }\r
28\r
29 public ITmfTrace getTrace() {\r
30 return fTrace;\r
31 }\r
32\r
33 @Override\r
3b38ea61 34 @SuppressWarnings("nls")\r
abfad0aa
FC
35 public String toString() {\r
36 return "[TmfTraceSelectedSignal (" + fTrace.getName() + ")]";\r
37 }\r
38}\r
This page took 0.026261 seconds and 5 git commands to generate.