Package com.e1c.langtool.v8.dt.bsl
Class ImplicitVariableComputedNameProvider
java.lang.Object
com.e1c.langtool.v8.dt.bsl.ImplicitVariableComputedNameProvider
- All Implemented Interfaces:
IComputedNameProvider,IComputedStringFeatureProvider,IComputedStringFeatureTranslationProvider
public class ImplicitVariableComputedNameProvider
extends Object
implements IComputedStringFeatureTranslationProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcomputeTranslatedString(ImplicitVariable implicitVar, DynamicFeatureAccess fa, IProjectTranslationProvider translationProvider, TranslateLanguage language) protected StringcomputeTranslatedString(ImplicitVariable implicitVar, Invocation inv, IProjectTranslationProvider translationProvider) protected StringcomputeTranslatedString(ImplicitVariable implicitVar, OperatorStyleCreator operator, IProjectTranslationProvider translationProvider) protected StringcomputeTranslatedString(DuallyNamedElement duallyNamed, IProjectTranslationProvider translationProvider) computeTranslatedString(org.eclipse.emf.ecore.EObject object, EFeatureSettings stringFeature, IProjectTranslationProvider translationProvider, TranslateLanguage language) Compute translated string from translations of base objects.protected booleanisComputedString(ImplicitVariable implicitVar, DynamicFeatureAccess fa) protected booleanisComputedString(ImplicitVariable implicitVar, Invocation inv) protected booleanisComputedString(ImplicitVariable implicitVar, OperatorStyleCreator operator) 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.
-
Constructor Details
-
ImplicitVariableComputedNameProvider
public ImplicitVariableComputedNameProvider()
-
-
Method Details
-
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
-
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
-
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
-
isComputedString
-
isComputedString
-
isComputedString
-
computeTranslatedString
protected String computeTranslatedString(ImplicitVariable implicitVar, OperatorStyleCreator operator, IProjectTranslationProvider translationProvider) -
computeTranslatedString
protected String computeTranslatedString(ImplicitVariable implicitVar, Invocation inv, IProjectTranslationProvider translationProvider) -
computeTranslatedString
protected String computeTranslatedString(ImplicitVariable implicitVar, DynamicFeatureAccess fa, IProjectTranslationProvider translationProvider, TranslateLanguage language) -
computeTranslatedString
protected String computeTranslatedString(DuallyNamedElement duallyNamed, IProjectTranslationProvider translationProvider)
-