Class HistoryTranslationProvider
java.lang.Object
com.e1c.langtool.internal.history.provider.BaseTranslationProvider
com.e1c.langtool.internal.history.provider.HistoryTranslationProvider
- All Implemented Interfaces:
IHistoryTranslationProvider
public class HistoryTranslationProvider
extends BaseTranslationProvider
implements IHistoryTranslationProvider
-
Nested Class Summary
Nested classes/interfaces inherited from class com.e1c.langtool.internal.history.provider.BaseTranslationProvider
BaseTranslationProvider.TranslationResultNested classes/interfaces inherited from interface com.e1c.langtool.history.provider.IHistoryTranslationProvider
IHistoryTranslationProvider.ITranslationResult -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontranslate(IContextTranslationQuery contextQuery) Returns a translation results have been found by the given query.Methods inherited from class com.e1c.langtool.internal.history.provider.BaseTranslationProvider
getMaxResultsNumber, translate
-
Constructor Details
-
HistoryTranslationProvider
-
-
Method Details
-
translate
public List<IHistoryTranslationProvider.ITranslationResult> translate(IContextTranslationQuery contextQuery) Description copied from interface:IHistoryTranslationProviderReturns a translation results have been found by the given query.The implementators must provide that the size of returned list must be limited by the following preferences parameter
HistoryTransPrefs.getMaxTranslations().- Specified by:
translatein interfaceIHistoryTranslationProvider- Parameters:
contextQuery- the query to search translations- Returns:
- a list of translations
-