Package org.omegat.core.threads
Class SearchThread
java.lang.Object
java.lang.Thread
org.omegat.core.threads.LongProcessThread
org.omegat.core.threads.SearchThread
- All Implemented Interfaces:
Runnable
Deprecated.
Each search window has its own search thread to actually do the searching.
This prevents lockup of the UI during intensive searches
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionSearchThread(SearchWindowController window, Searcher searcher) Deprecated.Starts a new search. -
Method Summary
Methods inherited from class org.omegat.core.threads.LongProcessThread
checkInterrupted, finMethods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Constructor Details
-
SearchThread
Deprecated.Starts a new search. To search a current project only, set rootDir to null.The main loop (in the run method) waits for the variable m_searching to be set to true. This variable is set to true in this function on successful setting of the search parameters.
- Parameters:
window- search window for display resultssearcher- search expression
-
-
Method Details