Interface IComputedNameTranslationService
- All Known Implementing Classes:
ComputedNameTranslationService
public interface IComputedNameTranslationService
Check whether the EObject sting is computed from strings of base objects or not.
Returns computed string from translations.
-
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.
-
Method Details
-
computeTranslatedString
String computeTranslatedString(org.eclipse.emf.ecore.EObject object, EFeatureSettings stringFeature, IProjectTranslationProvider translationProvider, TranslateLanguage language) Compute translated string from translations of base objects.- Parameters:
object- the objectstringFeature- the string featuretranslationProvider- the translation providerlanguage- the language- Returns:
- the computed string translated into given language
-
computeTranslatedMapValue
String computeTranslatedMapValue(org.eclipse.emf.ecore.EObject object, EFeatureSettings feature, Object key, IProjectTranslationProvider translationProvider, TranslateLanguage language) Compute translated map value from translations of base objects.- Parameters:
object- the objectfeature- the featurekey- the keytranslationProvider- the translation providerlanguage- the language- Returns:
- the computed string translated into given language
-