Package org.omegat.gui.editor
Class MarkerController
java.lang.Object
org.omegat.gui.editor.MarkerController
Class for manage marks and controll all markers.
All markers for inactive segment usually executed in background threads (one thread for one marker class), but markers for an active segment executed in UI thread immediately.
-
Method Summary
Modifier and TypeMethodDescriptiongetToolTips(int entryIndex, int pos) Return tooltips texts for specified editor position.static voidinit()voidprocess(SegmentBuilder[] entryBuilders) Process all segment for all markers.voidvoidreprocess(SegmentBuilder[] entryBuilders, int markerIndex) Reprocess all entries for one marker only.voidreprocessImmediately(SegmentBuilder entryBuilder) Reprocess one entry immediately in the current thread.
-
Method Details
-
init
- Throws:
Exception
-
reprocess
Reprocess all entries for one marker only. Usually used for spell checking or one marker state changes. -
reprocessImmediately
Reprocess one entry immediately in the current thread. Usually used for active entry. -
process
Process all segment for all markers. -
getToolTips
Return tooltips texts for specified editor position.- Parameters:
entryIndex-pos-- Returns:
-
queueMarksOutput
-