public class ReplaceFilter extends java.lang.Object implements IEditorFilter
Constructor and Description |
---|
ReplaceFilter(java.util.List<java.lang.Integer> entriesList,
Searcher searcher) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowed(SourceTextEntry ste) |
java.awt.Component |
getControlComponent() |
java.util.List<SearchMatch> |
getReplacementsForEntry(java.lang.String translationText) |
boolean |
isSourceAsEmptyTranslation()
True if editor should insert source text as empty translation even if it's not allowed by editor
behavior settings.
|
void |
replaceAll()
Replace all occurrences in all entries.
|
public ReplaceFilter(java.util.List<java.lang.Integer> entriesList, Searcher searcher)
public boolean isSourceAsEmptyTranslation()
IEditorFilter
isSourceAsEmptyTranslation
in interface IEditorFilter
public void replaceAll()
public boolean allowed(SourceTextEntry ste)
allowed
in interface IEditorFilter
public java.awt.Component getControlComponent()
getControlComponent
in interface IEditorFilter
public java.util.List<SearchMatch> getReplacementsForEntry(java.lang.String translationText)