Class DataCompositionChoiceParameterValueTranslationProvider

java.lang.Object
com.e1c.langtool.v8.dt.md.sync.AbstractChoiceParameterFilterTranslationProvider
com.e1c.langtool.v8.dt.dcs.translator.DataCompositionChoiceParameterValueTranslationProvider
All Implemented Interfaces:
IComputedNameProvider, IComputedStringFeatureProvider, IComputedStringFeatureTranslationProvider

public class DataCompositionChoiceParameterValueTranslationProvider extends AbstractChoiceParameterFilterTranslationProvider
The Class provides computed value for DataCompositionChoiceParameter of DCS.
  • Constructor Details

  • 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.
      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.
      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: IComputedStringFeatureTranslationProvider
      Compute translated string from translations of base objects.
      Parameters:
      object - the object
      stringFeature - the string feature
      translationProvider - the translation provider
      language - the language
      Returns:
      the computed string translated into given language
    • getFilterName

      protected String getFilterName(org.eclipse.emf.ecore.EObject object)
      Specified by:
      getFilterName in class AbstractChoiceParameterFilterTranslationProvider