Protégé-OWL 3.3.1

edu.stanford.smi.protegex.owl.ui.search.finder
Class ThreadedFind

java.lang.Object
  extended by edu.stanford.smi.protegex.owl.ui.search.finder.BasicFind
      extended by 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

Field Summary
 
Fields inherited from interface edu.stanford.smi.protegex.owl.ui.search.finder.Find
CONTAINS, ENDS_WITH, EXACTLY_MATCHES, searchTypeString, STARTS_WITH
 
Constructor Summary
ThreadedFind(OWLModel owlModel, int type)
           
 
Method Summary
protected  boolean aborted()
           
 void cancelSearch()
           
 void startSearch(String s, int type)
          Starts the search.
 
Methods inherited from class edu.stanford.smi.protegex.owl.ui.search.finder.BasicFind
addResultListener, getDescription, getLastSearch, getModel, getNumSearchProperties, getResultCount, getResultResources, getResults, getSearchProperties, getSearchType, getSummaryText, isRunning, isValidFrameToSearch, notifyResultsUpdated, notifySearchCancelled, notifySearchComplete, notifySearchStarted, removeResultListener, searchOnSlot, startSearch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadedFind

public ThreadedFind(OWLModel owlModel,
                    int type)
Method Detail

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.

aborted

protected boolean aborted()
Overrides:
aborted in class BasicFind

cancelSearch

public void cancelSearch()
Specified by:
cancelSearch in interface Find
Overrides:
cancelSearch in class BasicFind

Protégé-OWL 3.3.1

Submit a bug report or feature request
Copyright (c) 1998-2007 Stanford University.