Package org.omegat.gui.glossary
Class FindGlossaryThread
- java.lang.Object
-
- java.lang.Thread
-
- org.omegat.gui.common.EntryInfoSearchThread<java.util.List<GlossaryEntry>>
-
- org.omegat.gui.glossary.FindGlossaryThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class FindGlossaryThread extends EntryInfoSearchThread<java.util.List<GlossaryEntry>>
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.EntryChangedException
-
-
Constructor Summary
Constructors Constructor Description FindGlossaryThread(GlossaryTextArea pane, SourceTextEntry newEntry, GlossaryManager manager)
-
Method Summary
-
Methods inherited from class org.omegat.gui.common.EntryInfoSearchThread
run
-
Methods 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 Detail
-
FindGlossaryThread
public FindGlossaryThread(GlossaryTextArea pane, SourceTextEntry newEntry, GlossaryManager manager)
-
-