Re-structure LTTng sub-project as per the Linux Tools guidelines
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / signal / TmfTraceClosedSignal.java
CommitLineData
46ab8ce3
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.ui.signal;\r
14\r
6c13869b
FC
15import org.eclipse.linuxtools.tmf.core.signal.TmfSignal;\r
16import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace;\r
46ab8ce3
FC
17\r
18/**\r
19 * <b><u>TmfTraceClosedSignal</u></b>\r
20 */\r
21public class TmfTraceClosedSignal extends TmfSignal {\r
22\r
23 private final ITmfTrace fTrace;\r
24 \r
25 public TmfTraceClosedSignal(Object source, ITmfTrace trace) {\r
26 super(source);\r
27 fTrace = trace;\r
28 }\r
29\r
30 public ITmfTrace getTrace() {\r
31 return fTrace;\r
32 }\r
33\r
34 @Override\r
35 public String toString() {\r
36 return "[TmfTraceClosedSignal (" + fTrace.getName() + ")]"; //$NON-NLS-1$ //$NON-NLS-2$\r
37 }\r
38}\r
This page took 0.02678 seconds and 5 git commands to generate.