| java.lang.Object org.netbeans.modules.search.TextFetcher
TextFetcher | final class TextFetcher implements Runnable(Code) | | Fetches text from an Item off the event thread and passes it to a
TextReceiever on the event thread.
author: Tim Boudreau |
Method Summary | |
void | cancel() | boolean | replaceLocation(Item item, TextDisplayer textDisplayer) If a new request comes to display the same file, just possibly at a
different location, simply change the location we're scheduled to
display and return true, else return false (in which case we'll be
cancelled and a new request will be scheduled). | public void | run() |
replaceLocation | boolean replaceLocation(Item item, TextDisplayer textDisplayer)(Code) | | If a new request comes to display the same file, just possibly at a
different location, simply change the location we're scheduled to
display and return true, else return false (in which case we'll be
cancelled and a new request will be scheduled).
Parameters: item - item to be shown Parameters: receiver - displayer that will actually show the item in the UI true if the previous item has not been shown yetand we are about to show the same file, just at a possibledifferent location; false otherwise |
|
|