Package com.e1c.langtool.v8.dt.ql
Class QlComputeNameProvider
java.lang.Object
com.e1c.langtool.v8.dt.ql.QlComputeNameProvider
- All Implemented Interfaces:
IComputedNameProvider,IComputedStringFeatureProvider
The Class computer of auto-translating strings for QL.
Note: this class provide only computing of a flag of computed string.
The provider of computed strings is implemented
in QlTextProcessor class.
With adding new capabilies in this class, the same capabilities must be implemented in QlTextProcessor.
-
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
-
QlComputeNameProvider
public QlComputeNameProvider()
-
-
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
-