tmf: Update copyright headers in tmf.ui
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / views / uml2sd / handlers / provider / ISDFindProvider.java
CommitLineData
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
13package org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider;
14
df0b8ff4 15import org.eclipse.linuxtools.tmf.ui.views.uml2sd.dialogs.Criteria;
73005152
BH
16
17/**
df0b8ff4 18 * Interface for providing a find provider.
c8422608 19 *
73005152 20 * Sequence Diagram loaders which implement this class provide the actions for finding the sequence diagram. This
df0b8ff4 21 * interface also allow the implementor to set which action/feature are supported.<br>
c8422608 22 *
df0b8ff4 23 * Action provider are associated to a Sequence Diagram view by calling <code>SDView.setSDFindProvider()</code>.<br>
c8422608 24 *
df0b8ff4 25 * Note that either provider implementing ISDFindProvider or IExtendedFindProvider can be active in the SDView.<br>
c8422608 26 *
df0b8ff4 27 * @version 1.0
73005152 28 * @author sveyrier
c8422608 29 *
73005152
BH
30 */
31public interface ISDFindProvider extends ISDGraphNodeSupporter {
32
33 /**
34 * Called when the Find dialog box OK button is pressed
c8422608 35 *
73005152
BH
36 * @param toApply user selection made in the dialog box
37 * @return true if the find got a non empty result
38 */
0d9a6d76 39 public boolean find(Criteria toApply);
73005152
BH
40
41 /**
42 * Called when dialog is closed
43 */
44 public void cancel();
45
46}
This page took 0.035085 seconds and 5 git commands to generate.