Package com.e1c.langtool.v8.dt.bsl
Class FeatureAccessComputedNameProvider
java.lang.Object
com.e1c.langtool.v8.dt.bsl.FeatureAccessComputedNameProvider
- All Implemented Interfaces:
IComputedNameProvider,IComputedStringFeatureProvider
public class FeatureAccessComputedNameProvider
extends Object
implements IComputedStringFeatureProvider
The Class allows to set
isComputed for collecting feature Literals.FEATURE_ACCESS__NAME of
FeatureAccess.
Note: this class only provides isComputed flag. The implementation of computing
translated string is in BslTextProcessor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisComputedString(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
-
FeatureAccessComputedNameProvider
public FeatureAccessComputedNameProvider()
-
-
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
-