Commit | Line | Data |
---|---|---|
be222f56 PT |
1 | /******************************************************************************* |
2 | * Copyright (c) 2010 Ericsson | |
3 | * | |
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 | |
8 | * | |
9 | * Contributors: | |
10 | * Patrick Tasse - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
13 | package org.eclipse.linuxtools.tmf.ui.viewers.events; | |
14 | ||
15 | import org.eclipse.linuxtools.tmf.core.filter.ITmfFilter; | |
16 | import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace; | |
17 | ||
18 | /** | |
19 | * A filter/search event listener | |
20 | * | |
21 | * @version 1.0 | |
22 | * @author Patrick Tasse | |
23 | */ | |
24 | public interface ITmfEventsFilterListener { | |
25 | ||
26 | /** | |
27 | * Notify this listener that a filter has been applied. | |
28 | * | |
29 | * @param filter | |
30 | * The filter that was applied | |
31 | * @param trace | |
32 | * The trace on which this filter is applied | |
33 | */ | |
34 | public void filterApplied(ITmfFilter filter, ITmfTrace<?> trace); | |
35 | ||
36 | /** | |
37 | * Notify this listener that a new search has been run. | |
38 | * | |
39 | * @param filter | |
40 | * The filter that was applied | |
41 | * @param trace | |
42 | * The trace on which this filter is applied | |
43 | */ | |
44 | public void searchApplied(ITmfFilter filter, ITmfTrace<?> trace); | |
45 | ||
46 | } |