2010-07-12 Francois Chouinard <fchouinar@gmail.com> Contribution for Bug319428...
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf / src / org / eclipse / linuxtools / tmf / signal / TmfTraceOpenedSignal.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.signal;
14
15 import org.eclipse.linuxtools.tmf.trace.ITmfTrace;
16
17 /**
18 * <b><u>TmfTraceOpenedSignal</u></b>
19 */
20 public class TmfTraceOpenedSignal extends TmfSignal {
21
22 private final ITmfTrace fTrace;
23
24 public TmfTraceOpenedSignal(Object source, ITmfTrace trace) {
25 super(source);
26 fTrace = trace;
27 }
28
29 public ITmfTrace getTrace() {
30 return fTrace;
31 }
32
33 @Override
34 public String toString() {
35 return "[TmfTraceOpenedSignal (" + fTrace.getName() + ")]";
36 }
37 }
This page took 0.03258 seconds and 5 git commands to generate.