Java Doc and API clean up of TMF UML Sequence diagram framework
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / views / uml2sd / handlers / provider / ISDFindProvider.java
1 /**********************************************************************
2 * Copyright (c) 2005, 2006 IBM Corporation and others.
3 * Copyright (c) 2011, 2012 Ericsson.
4 *
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
9 *
10 * Contributors:
11 * IBM - Initial API and implementation
12 * Bernd Hufmann - Updated for TMF
13 **********************************************************************/
14 package org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider;
15
16 import org.eclipse.linuxtools.tmf.ui.views.uml2sd.dialogs.Criteria;
17
18 /**
19 * Interface for providing a find provider.
20 *
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>
23 *
24 * Action provider are associated to a Sequence Diagram view by calling <code>SDView.setSDFindProvider()</code>.<br>
25 *
26 * Note that either provider implementing ISDFindProvider or IExtendedFindProvider can be active in the SDView.<br>
27 *
28 * @version 1.0
29 * @author sveyrier
30 *
31 */
32 public interface ISDFindProvider extends ISDGraphNodeSupporter {
33
34 /**
35 * Called when the Find dialog box OK button is pressed
36 *
37 * @param toApply user selection made in the dialog box
38 * @return true if the find got a non empty result
39 */
40 public boolean find(Criteria toApply);
41
42 /**
43 * Called when dialog is closed
44 */
45 public void cancel();
46
47 }
This page took 0.031911 seconds and 6 git commands to generate.