public class LfeSearchManagerImpl extends java.lang.Object implements LfeSearchManager, CloseSearchTask.Callback
Constructor and Description |
---|
LfeSearchManagerImpl(LargeFileEditor largeFileEditor,
FileDataProviderForSearch fileDataProviderForSearch,
RangeSearchCreator rangeSearchCreator) |
public LfeSearchManagerImpl(LargeFileEditor largeFileEditor, FileDataProviderForSearch fileDataProviderForSearch, RangeSearchCreator rangeSearchCreator)
public SearchReplaceComponent getSearchReplaceComponent()
getSearchReplaceComponent
in interface LfeSearchManager
public CloseSearchTask getLastExecutedCloseSearchTask()
getLastExecutedCloseSearchTask
in interface LfeSearchManager
public void onSearchActionHandlerExecuted()
onSearchActionHandlerExecuted
in interface LfeSearchManager
public LargeFileEditor getLargeFileEditor()
getLargeFileEditor
in interface LfeSearchManager
public void launchNewRangeSearch(long fromPageNumber, long toPageNumber, boolean forwardDirection)
launchNewRangeSearch
in interface LfeSearchManager
public void gotoNextOccurrence(boolean directionForward)
gotoNextOccurrence
in interface LfeSearchManager
public void tellSearchProgress(CloseSearchTask caller, long curPageNumber, long pagesAmount)
tellSearchProgress
in interface CloseSearchTask.Callback
public void tellClosestResultFound(CloseSearchTask caller, java.util.ArrayList<SearchResult> allMatchesAtFrame, int indexOfClosestResult)
tellClosestResultFound
in interface CloseSearchTask.Callback
public void tellSearchIsFinished(CloseSearchTask caller, long lastScannedPageNumber)
tellSearchIsFinished
in interface CloseSearchTask.Callback
public void tellSearchWasStopped(CloseSearchTask caller, long curPageNumber)
tellSearchWasStopped
in interface CloseSearchTask.Callback
public void tellSearchWasCatchedException(CloseSearchTask caller, java.io.IOException e)
tellSearchWasCatchedException
in interface CloseSearchTask.Callback
public void onEscapePressed()
onEscapePressed
in interface LfeSearchManager
public java.lang.String getStatusText()
getStatusText
in interface LfeSearchManager
public void updateStatusText()
updateStatusText
in interface LfeSearchManager
public void updateSearchReplaceComponentActions()
updateSearchReplaceComponentActions
in interface LfeSearchManager
public void onSearchParametersChanged()
onSearchParametersChanged
in interface LfeSearchManager
public void onCaretPositionChanged(CaretEvent e)
onCaretPositionChanged
in interface LfeSearchManager
public void dispose()
dispose
in interface LfeSearchManager
public java.util.List<SearchResult> getSearchResultsInPage(Page page)
getSearchResultsInPage
in interface LfeSearchManager
public boolean isSearchWorkingNow()
isSearchWorkingNow
in interface LfeSearchManager