Copyright header update, 2015 edition
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.ui / src / org / eclipse / tracecompass / tmf / ui / views / uml2sd / handlers / provider / ISDFilterProvider.java
CommitLineData
73005152 1/**********************************************************************
ed902a2b 2 * Copyright (c) 2005, 2014 IBM Corporation, Ericsson
73005152
BH
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
c8422608
AM
7 *
8 * Contributors:
9 * IBM - Initial API and implementation
10 * Bernd Hufmann - Updated for TMF
73005152 11 **********************************************************************/
c8422608 12
2bdf0193 13package org.eclipse.tracecompass.tmf.ui.views.uml2sd.handlers.provider;
73005152
BH
14
15import java.util.List;
16
2bdf0193 17import org.eclipse.tracecompass.tmf.ui.views.uml2sd.dialogs.FilterCriteria;
5b5b7df5 18
73005152 19/**
df0b8ff4 20 * Interface for providing a filter provider.
c8422608 21 *
73005152
BH
22 * Sequence Diagram loaders which implement this class provide the actions filtering the sequence diagram.<br>
23 * This interface also allow the implementor to set which graph nodes are supporting filtering (thanks to
24 * ISDGraphNodeSupporter extension).<br>
c8422608 25 *
df0b8ff4 26 * Action provider are associated to a Sequence Diagram view by calling <code>SDView.setSDFilterProvider</code><br>
c8422608 27 *
73005152 28 * Filters to be applied to be managed by the loader in an ArrayList of FilterCriteria.<br>
c8422608 29 *
df0b8ff4
BH
30 * @version 1.0
31 * @author sveyrier
73005152
BH
32 */
33public interface ISDFilterProvider extends ISDGraphNodeSupporter {
34
35 /**
36 * Called when the Filter dialog box OK button is pressed
c8422608 37 *
0d9a6d76 38 * @param filters user selection made in the dialog box
73005152
BH
39 * @return true if the filter applied
40 */
5b5b7df5 41 boolean filter(List<FilterCriteria> filters);
73005152
BH
42
43}
This page took 0.065772 seconds and 5 git commands to generate.