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 * A trace was updated (typically its time range)
22 * @author Francois Chouinard
24 public class TmfTraceUpdatedSignal
extends TmfSignal
{
26 private final ITmfTrace fTrace
;
27 private final TmfTimeRange fTimeRange
;
33 * Object sending this signal
35 * The trace that was updated
37 * The new time range of the trace
39 public TmfTraceUpdatedSignal(Object source
, ITmfTrace trace
, TmfTimeRange range
) {
46 * @return The trace referred to by this signal
48 public ITmfTrace
getTrace() {
53 * @return The time range indicated by this signal
55 public TmfTimeRange
getRange() {
62 * @see java.lang.Object#toString()
65 @SuppressWarnings("nls")
66 public String
toString() {
67 return "[TmfTraceUpdatedSignal (" + fTrace
.toString() + ", "
68 + fTimeRange
.toString() + ")]";
This page took 0.032305 seconds and 6 git commands to generate.