1
/**********************************************************************
2
* Copyright (c) 2005, 2006 IBM Corporation and others.
3
* Copyright (c) 2011, 2012 Ericsson.
5
* All rights reserved. This program and the accompanying materials
6
* are made available under the terms of the Eclipse Public License v1.0
7
* which accompanies this distribution, and is available at
8
* http://www.eclipse.org/legal/epl-v10.html
11
* IBM - Initial API and implementation
12
* Bernd Hufmann - Updated for TMF
13
**********************************************************************/
14
package org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider;
16
import org.eclipse.linuxtools.tmf.ui.views.uml2sd.dialogs.Criteria;
19
* Interface for providing a find provider.
21
* Sequence Diagram loaders which implement this class provide the actions for finding the sequence diagram. This
22
* interface also allow the implementor to set which action/feature are supported.<br>
24
* Action provider are associated to a Sequence Diagram view by calling <code>SDView.setSDFindProvider()</code>.<br>
26
* Note that either provider implementing ISDFindProvider or IExtendedFindProvider can be active in the SDView.<br>
32
public interface ISDFindProvider extends ISDGraphNodeSupporter {
35
* Called when the Find dialog box OK button is pressed
37
* @param toApply user selection made in the dialog box
38
* @return true if the find got a non empty result
40
public boolean find(Criteria toApply);
43
* Called when dialog is closed