Class ResourceIgnoreTranslationChecker

java.lang.Object
com.e1c.langtool.ignore.AbstractResourceIgnoreTranslationChecker
com.e1c.langtool.ignore.ResourceIgnoreTranslationChecker
All Implemented Interfaces:
IgnoreTranslationChecker

public class ResourceIgnoreTranslationChecker extends AbstractResourceIgnoreTranslationChecker
  • Constructor Details

    • ResourceIgnoreTranslationChecker

      public ResourceIgnoreTranslationChecker()
  • Method Details

    • ignoreTranslation

      public boolean ignoreTranslation(org.eclipse.core.resources.IProject project, TranslationSource source, org.eclipse.core.runtime.IProgressMonitor monitor)
      Description copied from interface: IgnoreTranslationChecker
      Ignore translation by translation source, usually by the project relative path.
      Parameters:
      project - the project, cannot be null.
      source - the source object, cannot be null.
      monitor - the monitor, cannot be null.
      Returns:
      true, if should to ignore translation of the source
    • ignoreTranslation

      public boolean ignoreTranslation(org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IPath resourceId, FeatureKey featureKey, org.eclipse.core.runtime.IProgressMonitor monitor)
      Description copied from interface: IgnoreTranslationChecker
      Ignore translation by resource path and feature key in this resource.
      Parameters:
      project - the project, cannot be null.
      resourceId - the resource id, the project relative path to resource, cannot be null.
      featureKey - the feature key, cannot be null.
      monitor - the monitor, cannot be null.
      Returns:
      true, if should to ignore translation of the source