Class LanguageConverter

java.lang.Object
com.e1c.langtool.v8.dt.languageprocessor.LanguageProcessor
com.e1c.langtool.v8.dt.languageconverter.LanguageConverter

public class LanguageConverter extends LanguageProcessor
  • Field Details

  • Constructor Details

    • LanguageConverter

      public LanguageConverter()
  • Method Details

    • createBmProcessorTask

      protected AbstractBmTask<Void> createBmProcessorTask(org.eclipse.core.resources.IProject project, org.eclipse.emf.ecore.EPackage ePackage, Set<Long> bmFeatures, LanguageProcessorParameters parameters)
      Description copied from class: LanguageProcessor
      Creates the bm processor task.
      Specified by:
      createBmProcessorTask in class LanguageProcessor
      Parameters:
      project - the project, cannot be null
      ePackage - the e package, cannot be null
      bmFeatures - the bm features, cannot be null
      parameters - the parameters, cannot be null
      Returns:
      the abstract bm task, can be null
    • createNonBmProcessorTask

      protected AbstractBmTask<Void> createNonBmProcessorTask(org.eclipse.emf.ecore.EPackage ePackage, Set<org.eclipse.emf.common.util.URI> bmFeatures, LanguageProcessorParameters parameters)
      Description copied from class: LanguageProcessor
      Creates the non bm processor task.
      Specified by:
      createNonBmProcessorTask in class LanguageProcessor
      Parameters:
      ePackage - the e package, cannot be null
      bmFeatures - the bm features, cannot be null
      parameters - the parameters, cannot be null
      Returns:
      the abstract bm task, can be null
    • collectFeatureValues

      protected void collectFeatureValues(Object sourceObject, FeatureValue featureValue, Map<org.eclipse.emf.ecore.EPackage,Set<Long>> bmFeatures, Map<org.eclipse.emf.ecore.EPackage,Set<org.eclipse.emf.common.util.URI>> nonBmFeatures, LanguageProcessorParameters parameters)
      Description copied from class: LanguageProcessor
      Collects feature values.
      Overrides:
      collectFeatureValues in class LanguageProcessor
      Parameters:
      sourceObject - the source object, cannot be null
      featureValue - the feature value, cannot be null
      bmFeatures - the bm features, cannot be null
      nonBmFeatures - the non bm features, cannot be null
      parameters - the parameters, cannot be null
    • convertLanguages

      public void convertLanguages(org.eclipse.core.resources.IProject project, Collection<Language> languages, org.eclipse.core.resources.IProject targetProject, boolean exportTranslationsToStorage, StorageID storageId, org.eclipse.core.runtime.IProgressMonitor monitor)
      Converts languages.
      Parameters:
      project - the project, cannot be null
      languages - the languages, cannot be null
      targetProject - the target project, cannot be null
      exportTranslationsToStorage - the export translations to storage
      storageId - the storage id, cannot be null
      monitor - the monitor, cannot be null