Commit | Line | Data |
---|---|---|
73005152 | 1 | /********************************************************************** |
c8422608 | 2 | * Copyright (c) 2005, 2012 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 | |
73005152 BH |
13 | package org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider; |
14 | ||
15 | import java.util.List; | |
16 | ||
17 | /** | |
df0b8ff4 | 18 | * Interface for providing a filter provider. |
c8422608 | 19 | * |
73005152 BH |
20 | * Sequence Diagram loaders which implement this class provide the actions filtering the sequence diagram.<br> |
21 | * This interface also allow the implementor to set which graph nodes are supporting filtering (thanks to | |
22 | * ISDGraphNodeSupporter extension).<br> | |
c8422608 | 23 | * |
df0b8ff4 | 24 | * Action provider are associated to a Sequence Diagram view by calling <code>SDView.setSDFilterProvider</code><br> |
c8422608 | 25 | * |
73005152 | 26 | * Filters to be applied to be managed by the loader in an ArrayList of FilterCriteria.<br> |
c8422608 | 27 | * |
df0b8ff4 BH |
28 | * @version 1.0 |
29 | * @author sveyrier | |
73005152 BH |
30 | */ |
31 | public interface ISDFilterProvider extends ISDGraphNodeSupporter { | |
32 | ||
33 | /** | |
34 | * Called when the Filter dialog box OK button is pressed | |
c8422608 | 35 | * |
0d9a6d76 | 36 | * @param filters user selection made in the dialog box |
73005152 BH |
37 | * @return true if the filter applied |
38 | */ | |
39 | public boolean filter(List<?> filters); | |
40 | ||
41 | } |