Package org.omegat.gui.matches
Interface IMatcher
-
- All Known Implementing Classes:
MatchesTextArea
public interface IMatcher
Interface for access to editor functionality.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NearString
getActiveMatch()
Get selected match.void
setActiveMatch(int index)
Set specified mathc as active.void
setNextActiveMatch()
Make the next match activevoid
setPrevActiveMatch()
Make the previous match activejava.lang.String
substituteNumbers(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
-
-