Class NewSearchTableLoader
java.lang.Object
ghidra.features.base.memsearch.gui.NewSearchTableLoader
- All Implemented Interfaces:
MemoryMatchTableLoader
Table loader that performs a search and displays the results in the table.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if the search/loading did not fully complete.voiddispose()Cleans up resourcesReturns the first match found.booleanReturns true if at least one match was found.voidloadResults(Accumulator<MemoryMatch> accumulator, TaskMonitor monitor) Called by the table model to initiate searching and loading using the threaded table models threading infrastructure.
-
Method Details
-
loadResults
Description copied from interface:MemoryMatchTableLoaderCalled by the table model to initiate searching and loading using the threaded table models threading infrastructure.- Specified by:
loadResultsin interfaceMemoryMatchTableLoader- Parameters:
accumulator- the accumulator to store results that will appear in the results tablemonitor- the task monitor
-
didTerminateEarly
public boolean didTerminateEarly()Description copied from interface:MemoryMatchTableLoaderReturns true if the search/loading did not fully complete. (Search limit reached, cancelled by user, etc.)- Specified by:
didTerminateEarlyin interfaceMemoryMatchTableLoader- Returns:
- true if the search/loading did not fully complete
-
dispose
public void dispose()Description copied from interface:MemoryMatchTableLoaderCleans up resources- Specified by:
disposein interfaceMemoryMatchTableLoader
-
getFirstMatch
Description copied from interface:MemoryMatchTableLoaderReturns the first match found. Typically used to navigate the associated navigatable.- Specified by:
getFirstMatchin interfaceMemoryMatchTableLoader- Returns:
- the first match found
-
hasResults
public boolean hasResults()Description copied from interface:MemoryMatchTableLoaderReturns true if at least one match was found.- Specified by:
hasResultsin interfaceMemoryMatchTableLoader- Returns:
- true if at least one match was found
-