Interface MemoryMatchTableLoader

All Known Implementing Classes:
CombinedMatchTableLoader, EmptyMemoryMatchTableLoader, FindOnceTableLoader, NewSearchTableLoader, RefreshResultsTableLoader

public interface MemoryMatchTableLoader
Interface for loading the memory search results table. Various implementations handle the different cases such as a search all, or a search next, or combining results with a previous search, etc.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if the search/loading did not fully complete.
    void
    Cleans up resources
    Returns the first match found.
    boolean
    Returns true if at least one match was found.
    void
    Called by the table model to initiate searching and loading using the threaded table models threading infrastructure.
  • Method Details

    • loadResults

      void loadResults(Accumulator<MemoryMatch> accumulator, TaskMonitor monitor)
      Called by the table model to initiate searching and loading using the threaded table models threading infrastructure.
      Parameters:
      accumulator - the accumulator to store results that will appear in the results table
      monitor - the task monitor
    • didTerminateEarly

      boolean didTerminateEarly()
      Returns true if the search/loading did not fully complete. (Search limit reached, cancelled by user, etc.)
      Returns:
      true if the search/loading did not fully complete
    • dispose

      void dispose()
      Cleans up resources
    • getFirstMatch

      MemoryMatch getFirstMatch()
      Returns the first match found. Typically used to navigate the associated navigatable.
      Returns:
      the first match found
    • hasResults

      boolean hasResults()
      Returns true if at least one match was found.
      Returns:
      true if at least one match was found