1 /*******************************************************************************
2 * Copyright (c) 2012 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
.tmf
.core
.signal
;
15 import org
.eclipse
.jdt
.annotation
.NonNullByDefault
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.trace
.ITmfTrace
;
19 * Signal indicating a trace is being closed.
21 * Receivers should cancel any jobs, threads or requests for the specified trace
22 * and clear any user interface component related to it as soon as possible.
23 * The trace will be disposed after the signal has been processed.
26 * @author Patrick Tasse
30 public class TmfTraceClosedSignal
extends TmfSignal
{
32 private final ITmfTrace fTrace
;
35 * Constructor for a new signal
38 * The object sending this signal
40 * The trace being closed
42 public TmfTraceClosedSignal(Object source
, ITmfTrace trace
) {
48 * Get a reference to the trace being closed
50 * @return The trace object
52 public ITmfTrace
getTrace() {
57 public String
toString() {
58 return "[TmfTraceClosedSignal (" + fTrace
.getName() + ")]"; //$NON-NLS-1$ //$NON-NLS-2$
This page took 0.062818 seconds and 5 git commands to generate.