Class StringLiteralNonWordTranslationProvider

java.lang.Object
com.e1c.langtool.v8.dt.ql.StringLiteralNonWordTranslationProvider
All Implemented Interfaces:
IComputedNameProvider, IComputedStringFeatureProvider

public class StringLiteralNonWordTranslationProvider extends Object implements IComputedStringFeatureProvider
The provider only checks that string literal contains only non-word symbols and not provide any translation.
  • Constructor Details

    • StringLiteralNonWordTranslationProvider

      public StringLiteralNonWordTranslationProvider()
  • Method Details

    • isComputedString

      public boolean isComputedString(org.eclipse.emf.ecore.EObject object, EFeatureSettings stringFeature)
      Description copied from interface: IComputedStringFeatureProvider
      Checks if the string in feature is computed string.
      Specified by:
      isComputedString in interface IComputedStringFeatureProvider
      Parameters:
      object - the object
      stringFeature - the string feature
      Returns:
      true, if the string is computed
    • isSupported

      public boolean isSupported(org.eclipse.emf.ecore.EObject object)
      Description copied from interface: IComputedNameProvider
      Checks if given EObject is supported by this provider.
      Specified by:
      isSupported in interface IComputedNameProvider
      Parameters:
      object - the object
      Returns:
      true, if it is supported