Package org.omegat.gui.glossary
Class FindGlossaryThread
java.lang.Object
java.lang.Thread
org.omegat.gui.common.EntryInfoSearchThread<List<GlossaryEntry>>
org.omegat.gui.glossary.FindGlossaryThread
- All Implemented Interfaces:
Runnable
Class for find glossary entries for current entry in editor.
This process looks up the source string entries, and find matched glossary
entries.
Test cases whether a glossary entry matches a string entry text:
- "Edit" vs "Editing" - doesn't match
- "Old Line" vs "Hold Line" - doesn't match
- "Some Text" vs "There was some text there" - OK!
- "Edit" vs "Editing the edit" - matches OK!
- "Edit" vs "Edit" - matches OK!
-
Nested Class Summary
Nested classes/interfaces inherited from class org.omegat.gui.common.EntryInfoSearchThread
EntryInfoSearchThread.EntryChangedExceptionNested 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
ConstructorsConstructorDescriptionFindGlossaryThread(GlossaryTextArea pane, SourceTextEntry newEntry, GlossaryManager manager) -
Method Summary
Methods inherited from class org.omegat.gui.common.EntryInfoSearchThread
runMethods 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
-
FindGlossaryThread
-