diff options
Diffstat (limited to 'lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/signal/TmfTraceClosedSignal.java')
-rw-r--r-- | lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/signal/TmfTraceClosedSignal.java | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/signal/TmfTraceClosedSignal.java b/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/signal/TmfTraceClosedSignal.java deleted file mode 100644 index 9f9f2fa5ee..0000000000 --- a/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/signal/TmfTraceClosedSignal.java +++ /dev/null @@ -1,60 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2012 Ericsson - * - * All rights reserved. This program and the accompanying materials are - * made available under the terms of the Eclipse Public License v1.0 which - * accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Patrick Tasse - Initial API and implementation - *******************************************************************************/ - -package org.eclipse.linuxtools.tmf.core.signal; - -import org.eclipse.jdt.annotation.NonNullByDefault; -import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace; - -/** - * Signal indicating a trace is being closed. - * - * Receivers should cancel any jobs, threads or requests for the specified trace - * and clear any user interface component related to it as soon as possible. - * The trace will be disposed after the signal has been processed. - * - * @version 1.0 - * @author Patrick Tasse - * @since 2.0 - */ -@NonNullByDefault -public class TmfTraceClosedSignal extends TmfSignal { - - private final ITmfTrace fTrace; - - /** - * Constructor for a new signal - * - * @param source - * The object sending this signal - * @param trace - * The trace being closed - */ - public TmfTraceClosedSignal(Object source, ITmfTrace trace) { - super(source); - fTrace = trace; - } - - /** - * Get a reference to the trace being closed - * - * @return The trace object - */ - public ITmfTrace getTrace() { - return fTrace; - } - - @Override - public String toString() { - return "[TmfTraceClosedSignal (" + fTrace.getName() + ")]"; //$NON-NLS-1$ //$NON-NLS-2$ - } -} |