edu.stanford.smi.protegex.owl.ui.search.finder
Class ThreadedFind
java.lang.Object
edu.stanford.smi.protegex.owl.ui.search.finder.BasicFind
edu.stanford.smi.protegex.owl.ui.search.finder.ThreadedFind
- All Implemented Interfaces:
- Find
public class ThreadedFind
- extends BasicFind
- Author:
- Nick Drummond, Medical Informatics Group, University of Manchester
17-Mar-2006
Nested classes/interfaces inherited from interface edu.stanford.smi.protegex.owl.ui.search.finder.Find |
Find.FindStatus |
Methods inherited from class edu.stanford.smi.protegex.owl.ui.search.finder.BasicFind |
addResultListener, getDescription, getFindStatus, getLastSearch, getListeners, getModel, getNumSearchProperties, getResultCount, getResultResources, getResults, getSearchProperties, getSearchType, getSummaryText, isValidFrameToSearch, notifyResultsUpdated, notifySearchCancelled, notifySearchComplete, notifySearchStarted, removeResultListener, reset, searchOnSlot, startSearch, waitForSearchComplete |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadedFind
public ThreadedFind(OWLModel owlModel,
int type)
startSearch
public void startSearch(String s,
int type)
- Starts the search.
Note that this routine will wait for any previous searches to complete.
- Specified by:
startSearch
in interface Find
- Overrides:
startSearch
in class BasicFind
- Parameters:
s
- The string to search for.type
- The type of search.
cancelSearch
public void cancelSearch()
- Specified by:
cancelSearch
in interface Find
- Overrides:
cancelSearch
in class BasicFind
Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.