1 /*******************************************************************************
2 * Copyright (c) 2009 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 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.core
.signal
;
15 import org
.eclipse
.linuxtools
.tmf
.core
.event
.TmfTimeRange
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.trace
.ITmfTrace
;
19 * Signal indicating a trace has been updated.
21 * The trace has been indexed up to the specified range.
24 * @author Francois Chouinard
26 public class TmfTraceUpdatedSignal
extends TmfSignal
{
28 private final ITmfTrace fTrace
;
29 private final TmfTimeRange fTimeRange
;
35 * Object sending this signal
37 * The trace that was updated
39 * The new time range of the trace
41 public TmfTraceUpdatedSignal(Object source
, ITmfTrace trace
, TmfTimeRange range
) {
48 * @return The trace referred to by this signal
50 public ITmfTrace
getTrace() {
55 * @return The time range indicated by this signal
57 public TmfTimeRange
getRange() {
64 * @see java.lang.Object#toString()
67 @SuppressWarnings("nls")
68 public String
toString() {
69 return "[TmfTraceUpdatedSignal (" + fTrace
.toString() + ", "
70 + fTimeRange
.toString() + ")]";
This page took 0.033289 seconds and 6 git commands to generate.