Package com.e1c.langtool.internal.ignore
Class IgnoreCheckingService
java.lang.Object
com.e1c.langtool.internal.ignore.IgnoreCheckingService
- All Implemented Interfaces:
IgnoreTranslationCheckingService
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe EXTENSION_POINT_ID to contribute factoryFeatureCollectorFactorycreating collectors. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanignoreTranslation(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.booleanignoreTranslation(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.booleanignoreTranslation(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.booleanignoreTranslation(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.
-
Field Details
-
EXTENSION_POINT_ID
The EXTENSION_POINT_ID to contribute factoryFeatureCollectorFactorycreating collectors.- See Also:
-
-
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:IgnoreTranslationCheckingServiceIgnore translation by translation source, usually by the project relative path.- Specified by:
ignoreTranslationin interfaceIgnoreTranslationCheckingService- Parameters:
project- the project, cannot benull.source- the source, cannot benull.monitor- the monitor, cannot benull.- 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:IgnoreTranslationCheckingServiceIgnore translation by the feature key in the source object.- Specified by:
ignoreTranslationin interfaceIgnoreTranslationCheckingService- Parameters:
project- the project, cannot benull.source- the translation source, cannot benull.featureKey- the feature key in the source, cannot benull.monitor- the monitor, cannot benull.- 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:IgnoreTranslationCheckingServiceIgnore translation by the feature value which contains resource id as path and feature key to check.- Specified by:
ignoreTranslationin interfaceIgnoreTranslationCheckingService- Parameters:
project- the project, cannot benull.source- the source translation key, cannot benull.monitor- the monitor, cannot benull.- 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:IgnoreTranslationCheckingServiceIgnore translation by resource path and feature key in this resource.- Specified by:
ignoreTranslationin interfaceIgnoreTranslationCheckingService- Parameters:
project- the project, cannot benull.resourceId- the resource id, cannot benull.featureKey- the feature key in the resource, cannot benull.monitor- the monitor, cannot benull.- Returns:
- true, if should to ignore translation of the source
-