Package org.omegat.gui.editor.mark
Class ComesFromMTMarker
- java.lang.Object
-
- org.omegat.gui.editor.mark.ComesFromMTMarker
-
-
Constructor Summary
Constructors Constructor Description ComesFromMTMarker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Mark>
getMarksForEntry(SourceTextEntry ste, java.lang.String sourceText, java.lang.String translationText, boolean isActive)
Calculate marks for specific entry.void
setMark(SourceTextEntry ste, java.lang.String text)
-
-
-
Method Detail
-
setMark
public void setMark(SourceTextEntry ste, java.lang.String text)
-
getMarksForEntry
public java.util.List<Mark> getMarksForEntry(SourceTextEntry ste, java.lang.String sourceText, java.lang.String translationText, boolean isActive)
Description copied from interface:IMarker
Calculate marks for specific entry.Method will be called NOT in Swing thread.
Note to implementers: Both
sourceText
andtranslationText
might be null!- Specified by:
getMarksForEntry
in interfaceIMarker
sourceText
- might be null!translationText
- might be null!isActive
- is this an active segment in the document?- Returns:
- null if nothing changed, or list of new marks. Empty list must be returned if marks shouldn't be displayed
-
-