Package com.e1c.langtool.ignore
Class ResourceIgnoreTranslationChecker
java.lang.Object
com.e1c.langtool.ignore.AbstractResourceIgnoreTranslationChecker
com.e1c.langtool.ignore.ResourceIgnoreTranslationChecker
- All Implemented Interfaces:
IgnoreTranslationChecker
-
Nested Class Summary
Nested classes/interfaces inherited from class com.e1c.langtool.ignore.AbstractResourceIgnoreTranslationChecker
AbstractResourceIgnoreTranslationChecker.ProjectCache -
Field Summary
Fields inherited from class com.e1c.langtool.ignore.AbstractResourceIgnoreTranslationChecker
projects, TRANSIGNORE_FILE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanignoreTranslation(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.Methods inherited from class com.e1c.langtool.ignore.AbstractResourceIgnoreTranslationChecker
createAndLoad, getProjectCacheMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.e1c.langtool.ignore.IgnoreTranslationChecker
ignoreTranslation, ignoreTranslation
-
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:IgnoreTranslationCheckerIgnore translation by translation source, usually by the project relative path.- Parameters:
project- the project, cannot benull.source- the source object, 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:IgnoreTranslationCheckerIgnore translation by resource path and feature key in this resource.- Parameters:
project- the project, cannot benull.resourceId- the resource id, the project relative path to resource, cannot benull.featureKey- the feature key, cannot benull.monitor- the monitor, cannot benull.- Returns:
- true, if should to ignore translation of the source
-