Package org.omegat.gui.matches
Interface IMatcher
-
- All Known Implementing Classes:
MatchesTextArea
public interface IMatcherInterface for access to editor functionality.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NearStringgetActiveMatch()Get selected match.voidsetActiveMatch(int index)Set specified mathc as active.voidsetNextActiveMatch()Make the next match activevoidsetPrevActiveMatch()Make the previous match activejava.lang.StringsubstituteNumbers(java.lang.String source, java.lang.String sourceMatch, java.lang.String targetMatch)
-
-
-
Method Detail
-
getActiveMatch
NearString getActiveMatch()
Get selected match. Must be called from UI thread only.
-
setActiveMatch
void setActiveMatch(int index)
Set specified mathc as active.- Parameters:
index- new active match Must be called from UI thread only.
-
substituteNumbers
java.lang.String substituteNumbers(java.lang.String source, java.lang.String sourceMatch, java.lang.String targetMatch)
-
setNextActiveMatch
void setNextActiveMatch()
Make the next match active
-
setPrevActiveMatch
void setPrevActiveMatch()
Make the previous match active
-
-