Internalize some classes and fix a pile of warnings
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / signal / TmfTraceUpdatedSignal.java
CommitLineData
8c8bf09f
ASL
1/*******************************************************************************
2 * Copyright (c) 2009 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 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
12
6c13869b 13package org.eclipse.linuxtools.tmf.core.signal;
8c8bf09f 14
6c13869b
FC
15import org.eclipse.linuxtools.tmf.core.event.TmfTimeRange;
16import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace;
8c8bf09f
ASL
17
18/**
19 * <b><u>TmfTraceUpdatedSignal</u></b>
20 * <p>
21 * TODO: Implement me. Please.
22 */
23public class TmfTraceUpdatedSignal extends TmfSignal {
24
12c155f5 25 private final ITmfTrace<?> fTrace;
8c8bf09f
ASL
26 private final TmfTimeRange fTimeRange;
27
12c155f5 28 public TmfTraceUpdatedSignal(Object source, ITmfTrace<?> trace, TmfTimeRange range) {
8c8bf09f
ASL
29 super(source);
30 fTrace = trace;
31 fTimeRange = range;
32 }
33
12c155f5 34 public ITmfTrace<?> getTrace() {
8c8bf09f
ASL
35 return fTrace;
36 }
37
38 public TmfTimeRange getRange() {
39 return fTimeRange;
40 }
41
42 /* (non-Javadoc)
43 * @see java.lang.Object#toString()
44 */
45 @Override
3b38ea61 46 @SuppressWarnings("nls")
8c8bf09f
ASL
47 public String toString() {
48 return "[TmfTraceUpdatedSignal (" + fTrace.toString() + ", " + fTimeRange.toString() + ")]";
49 }
50
51}
This page took 0.036986 seconds and 5 git commands to generate.