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
.linuxtools
.tmf
.core
.trace
.ITmfTrace
;
18 * Signal indicating a trace is being closed.
20 * Receivers should cancel any jobs, threads or requests for the specified trace
21 * and clear any user interface component related to it as soon as possible.
22 * The trace will be disposed after the signal has been processed.
25 * @author Patrick Tasse
28 public class TmfTraceClosedSignal
extends TmfSignal
{
30 private final ITmfTrace fTrace
;
33 * Constructor for a new signal
36 * The object sending this signal
38 * The trace being closed
40 public TmfTraceClosedSignal(Object source
, ITmfTrace trace
) {
46 * Get a reference to the trace being closed
48 * @return The trace object
50 public ITmfTrace
getTrace() {
55 public String
toString() {
56 return "[TmfTraceClosedSignal (" + fTrace
.getName() + ")]"; //$NON-NLS-1$ //$NON-NLS-2$
This page took 0.030834 seconds and 5 git commands to generate.