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 / TmfTraceParserUpdatedSignal.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.ui.signal;
14
15 import org.eclipse.core.resources.IResource;
16 import org.eclipse.linuxtools.tmf.core.signal.TmfSignal;
17
18 /**
19 * <b><u>TmfTraceParserUpdatedSignal</u></b>
20 */
21 public class TmfTraceParserUpdatedSignal extends TmfSignal {
22
23 private final IResource fTraceResource;
24
25 public TmfTraceParserUpdatedSignal(Object source, IResource traceResource) {
26 super(source);
27 fTraceResource = traceResource;
28 }
29
30 public IResource getTraceResource() {
31 return fTraceResource;
32 }
33
34 @Override
35 public String toString() {
36 return "[TmfTraceParserUpdatedSignal (" + fTraceResource.getName() + ")]"; //$NON-NLS-1$ //$NON-NLS-2$
37 }
38 }
This page took 0.034598 seconds and 5 git commands to generate.