1 /*******************************************************************************
2 * Copyright (c) 2010 Ericsson
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
10 * Patrick Tasse - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.internal
.tmf
.ui
.signal
;
15 import org
.eclipse
.core
.resources
.IResource
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.signal
.TmfSignal
;
19 * Signal that a trace parser was updated
22 * @author Patrick Tasse
24 public class TmfTraceParserUpdatedSignal
extends TmfSignal
{
26 private final IResource fTraceResource
;
28 public TmfTraceParserUpdatedSignal(Object source
, IResource traceResource
) {
30 fTraceResource
= traceResource
;
33 public IResource
getTraceResource() {
34 return fTraceResource
;
38 public String
toString() {
39 return "[TmfTraceParserUpdatedSignal (" + fTraceResource
.getName() + ")]"; //$NON-NLS-1$ //$NON-NLS-2$