public class SimpleLibrarySearcher extends LibrarySearcher
_library, _properties, _results, _searchPane
Constructor and Description |
---|
SimpleLibrarySearcher(javax.swing.JTree library,
LibrarySearchPane searchPane)
constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
init()
pre-reads the library so searches will be faster.
|
LibrarySearchResults |
search(java.lang.String value,
boolean authenticate)
search for val in the library
|
void |
setSkipReposiotryOntology(boolean skipRepositoryOntology)
Set true if want not to display remote ontology
|
getProperty, setProperty
public SimpleLibrarySearcher(javax.swing.JTree library, LibrarySearchPane searchPane)
library
- Description of the ParametersearchPane
- Description of the Parameterpublic void setSkipReposiotryOntology(boolean skipRepositoryOntology)
public LibrarySearchResults search(java.lang.String value, boolean authenticate) throws IllegalActionException, RepositoryException, AuthenticationException
search
in class LibrarySearcher
val
- Description of the Parameterauthenticate
- if true prompt user to login if necessaryAuthenticationException
RepositoryException
IllegalActionException
protected void init()
init
in class LibrarySearcher