Class TotalFielDataPathTranslationProvider
java.lang.Object
com.e1c.langtool.v8.dt.dcs.translator.AbstractFieldProvider
com.e1c.langtool.v8.dt.dcs.translator.TotalFielDataPathTranslationProvider
- All Implemented Interfaces:
IComputedNameProvider,IComputedStringFeatureProvider,IComputedStringFeatureTranslationProvider
public class TotalFielDataPathTranslationProvider
extends AbstractFieldProvider
implements IComputedStringFeatureTranslationProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomputeTranslatedString(org.eclipse.emf.ecore.EObject object, EFeatureSettings stringFeature, IProjectTranslationProvider translationProvider, TranslateLanguage language) Compute translated string from translations of base objects.booleanisComputedString(org.eclipse.emf.ecore.EObject object, EFeatureSettings stringFeature) Checks if the string in feature is computed string.booleanisSupported(org.eclipse.emf.ecore.EObject object) Checks if givenEObjectis supported by this provider.Methods inherited from class com.e1c.langtool.v8.dt.dcs.translator.AbstractFieldProvider
getCalculatedFields, getCalculatedFieldTranslation, getDataSetField, getDataSetField, getDataSetFieldTranslation, hasCalculatedFields, hasDataSetField, hasDataSetField
-
Constructor Details
-
TotalFielDataPathTranslationProvider
public TotalFielDataPathTranslationProvider()
-
-
Method Details
-
isComputedString
public boolean isComputedString(org.eclipse.emf.ecore.EObject object, EFeatureSettings stringFeature) Description copied from interface:IComputedStringFeatureProviderChecks if the string in feature is computed string.- Specified by:
isComputedStringin interfaceIComputedStringFeatureProvider- Parameters:
object- the objectstringFeature- the string feature- Returns:
- true, if the string is computed
-
isSupported
public boolean isSupported(org.eclipse.emf.ecore.EObject object) Description copied from interface:IComputedNameProviderChecks if givenEObjectis supported by this provider.- Specified by:
isSupportedin interfaceIComputedNameProvider- Parameters:
object- the object- Returns:
- true, if it is supported
-
computeTranslatedString
public String computeTranslatedString(org.eclipse.emf.ecore.EObject object, EFeatureSettings stringFeature, IProjectTranslationProvider translationProvider, TranslateLanguage language) Description copied from interface:IComputedStringFeatureTranslationProviderCompute translated string from translations of base objects.- Specified by:
computeTranslatedStringin interfaceIComputedStringFeatureTranslationProvider- Parameters:
object- the objectstringFeature- the string featuretranslationProvider- the translation providerlanguage- the language- Returns:
- the computed string translated into given language
-