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
.filter
.ITmfFilter
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.trace
.ITmfTrace
;
19 * Signal indicating an event search has been applied.
22 * @author Patrick Tasse
25 public class TmfEventSearchAppliedSignal
extends TmfSignal
{
27 private final ITmfTrace fTrace
;
28 private final ITmfFilter fSearchFilter
;
31 * Constructor for a new signal.
34 * The object sending this signal
36 * The trace to which search is applied
38 * The applied search filter or null
40 public TmfEventSearchAppliedSignal(Object source
, ITmfTrace trace
, ITmfFilter filter
) {
43 fSearchFilter
= filter
;
47 * Get the trace object concerning this signal
51 public ITmfTrace
getTrace() {
56 * Get the search filter being applied
58 * @return The search filter
60 public ITmfFilter
getSearchFilter() {
65 public String
toString() {
66 return "[TmfSearchFilterAppliedSignal (" + fTrace
.getName() + " : " + fSearchFilter
+ ")]"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$