Class ComputedNameTranslationService
java.lang.Object
com.e1c.langtool.v8.dt.internal.translator.ComputedNameTranslationService
- All Implemented Interfaces:
IComputedNameTranslationService
public class ComputedNameTranslationService
extends Object
implements IComputedNameTranslationService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomputeTranslatedMapValue(org.eclipse.emf.ecore.EObject object, EFeatureSettings feature, Object key, IProjectTranslationProvider translationProvider, TranslateLanguage language) Compute translated map value from translations of base objects.computeTranslatedString(org.eclipse.emf.ecore.EObject object, EFeatureSettings stringFeature, IProjectTranslationProvider translationProvider, TranslateLanguage language) Compute translated string from translations of base objects.
-
Constructor Details
-
ComputedNameTranslationService
public ComputedNameTranslationService()
-
-
Method Details
-
computeTranslatedString
public String computeTranslatedString(org.eclipse.emf.ecore.EObject object, EFeatureSettings stringFeature, IProjectTranslationProvider translationProvider, TranslateLanguage language) Description copied from interface:IComputedNameTranslationServiceCompute translated string from translations of base objects.- Specified by:
computeTranslatedStringin interfaceIComputedNameTranslationService- Parameters:
object- the objectstringFeature- the string featuretranslationProvider- the translation providerlanguage- the language- Returns:
- the computed string translated into given language
-
computeTranslatedMapValue
public String computeTranslatedMapValue(org.eclipse.emf.ecore.EObject object, EFeatureSettings feature, Object key, IProjectTranslationProvider translationProvider, TranslateLanguage language) Description copied from interface:IComputedNameTranslationServiceCompute translated map value from translations of base objects.- Specified by:
computeTranslatedMapValuein interfaceIComputedNameTranslationService- Parameters:
object- the objectfeature- the featurekey- the keytranslationProvider- the translation providerlanguage- the language- Returns:
- the computed string translated into given language
-