Interface BSimSearchService
public interface BSimSearchService
Interface used by the BSimSearchDialog to initiate BSim Queries
-
Method Summary
Modifier and TypeMethodDescriptionReturns the BSimSearchSettings that was used in the previous search or the default settings if no searches have been performed.Returns the BSimServerInfo that was used in the previous search or null if no searches have been performed.void
performOverview
(BSimServerCache severCache, BSimSearchSettings settings) Initiates a BSim overview search using all the functions in the program.void
search
(BSimServerCache severCache, BSimSearchSettings settings, Set<FunctionSymbol> functions) Initiates a BSim similar functions search.
-
Method Details
-
getLastUsedServer
BSimServerInfo getLastUsedServer()Returns the BSimServerInfo that was used in the previous search or null if no searches have been performed.- Returns:
- the BSimServerInfo that was used in the previous search
-
getLastUsedSearchSettings
BSimSearchSettings getLastUsedSearchSettings()Returns the BSimSearchSettings that was used in the previous search or the default settings if no searches have been performed.- Returns:
- the BSimSearchSettings that was used in the previous search
-
search
Initiates a BSim similar functions search.- Parameters:
severCache
- the server to querysettings
- the settings to use for the searchfunctions
- the functions to search for similar matches
-
performOverview
Initiates a BSim overview search using all the functions in the program.- Parameters:
severCache
- the server to querysettings
- the settings to use for the search
-