1 /*******************************************************************************
2 * Copyright (c) 2012, 2014 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
.tracecompass
.tmf
.core
.signal
;
15 import org
.eclipse
.tracecompass
.tmf
.core
.trace
.ITmfTrace
;
18 * Signal indicating a trace has been selected.
20 * The specified trace is the active trace and has been brought to top
21 * or the signal is used as a trigger to bring it to top.
24 * @author Patrick Tasse
26 public class TmfTraceSelectedSignal
extends TmfSignal
{
28 private final ITmfTrace fTrace
;
34 * Object sending this signal
36 * The trace that was selected
38 public TmfTraceSelectedSignal(Object source
, ITmfTrace trace
) {
44 * @return The trace referred to by this signal
46 public ITmfTrace
getTrace() {
51 public String
toString() {
52 return "[TmfTraceSelectedSignal (" + fTrace
.getName() + ")]"; //$NON-NLS-1$ //$NON-NLS-2$
This page took 0.031779 seconds and 5 git commands to generate.