Class IgnoreCheckingService

java.lang.Object
com.e1c.langtool.internal.ignore.IgnoreCheckingService
All Implemented Interfaces:
IgnoreTranslationCheckingService

public class IgnoreCheckingService extends Object implements IgnoreTranslationCheckingService
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The EXTENSION_POINT_ID to contribute factory FeatureCollectorFactory creating collectors.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    ignoreTranslation(org.eclipse.core.resources.IProject project, ContextTranslationKey source, org.eclipse.core.runtime.IProgressMonitor monitor)
    Ignore translation by the feature value which contains resource id as path and feature key to check.
    boolean
    ignoreTranslation(org.eclipse.core.resources.IProject project, TranslationSource source, FeatureKey featureKey, org.eclipse.core.runtime.IProgressMonitor monitor)
    Ignore translation by the feature key in the source object.
    boolean
    ignoreTranslation(org.eclipse.core.resources.IProject project, TranslationSource source, org.eclipse.core.runtime.IProgressMonitor monitor)
    Ignore translation by translation source, usually by the project relative path.
    boolean
    ignoreTranslation(org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IPath resourceId, FeatureKey featureKey, org.eclipse.core.runtime.IProgressMonitor monitor)
    Ignore translation by resource path and feature key in this resource.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • IgnoreCheckingService

      public IgnoreCheckingService()
  • Method Details

    • ignoreTranslation

      public boolean ignoreTranslation(org.eclipse.core.resources.IProject project, TranslationSource source, org.eclipse.core.runtime.IProgressMonitor monitor)
      Description copied from interface: IgnoreTranslationCheckingService
      Ignore translation by translation source, usually by the project relative path.
      Specified by:
      ignoreTranslation in interface IgnoreTranslationCheckingService
      Parameters:
      project - the project, cannot be null.
      source - the source, 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, TranslationSource source, FeatureKey featureKey, org.eclipse.core.runtime.IProgressMonitor monitor)
      Description copied from interface: IgnoreTranslationCheckingService
      Ignore translation by the feature key in the source object.
      Specified by:
      ignoreTranslation in interface IgnoreTranslationCheckingService
      Parameters:
      project - the project, cannot be null.
      source - the translation source, cannot be null.
      featureKey - the feature key in the source, 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, ContextTranslationKey source, org.eclipse.core.runtime.IProgressMonitor monitor)
      Description copied from interface: IgnoreTranslationCheckingService
      Ignore translation by the feature value which contains resource id as path and feature key to check.
      Specified by:
      ignoreTranslation in interface IgnoreTranslationCheckingService
      Parameters:
      project - the project, cannot be null.
      source - the source translation key, 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: IgnoreTranslationCheckingService
      Ignore translation by resource path and feature key in this resource.
      Specified by:
      ignoreTranslation in interface IgnoreTranslationCheckingService
      Parameters:
      project - the project, cannot be null.
      resourceId - the resource id, cannot be null.
      featureKey - the feature key in the resource, cannot be null.
      monitor - the monitor, cannot be null.
      Returns:
      true, if should to ignore translation of the source