Package com.e1c.langtool.v8.dt.ignore
Class SubsystemIgnoreTranslationChecker
java.lang.Object
com.e1c.langtool.ignore.AbstractResourceIgnoreTranslationChecker
com.e1c.langtool.v8.dt.ignore.SubsystemIgnoreTranslationChecker
- All Implemented Interfaces:
IgnoreTranslationChecker
-
Nested Class Summary
Nested classes/interfaces inherited from class com.e1c.langtool.ignore.AbstractResourceIgnoreTranslationChecker
AbstractResourceIgnoreTranslationChecker.ProjectCache -
Field Summary
FieldsFields inherited from class com.e1c.langtool.ignore.AbstractResourceIgnoreTranslationChecker
projects, TRANSIGNORE_FILE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendContentPath(Subsystem top, Set<org.eclipse.core.runtime.IPath> result, IProjectFileSystemSupport fileSystemSupport, org.eclipse.core.runtime.IProgressMonitor monitor) protected List<org.eclipse.core.resources.IFile>collectSubsystemIgnoreFiles(org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor monitor) protected Map<org.eclipse.core.runtime.IPath,Optional<TransIgnoreFile>> getProjectCache(org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor monitor) protected Set<org.eclipse.core.runtime.IPath>getSubsystemContentPaths(IBmTransaction transaction, org.eclipse.xtext.naming.QualifiedName fqn, IProjectFileSystemSupport fileSystemSupport, org.eclipse.core.runtime.IProgressMonitor progressMonitor) protected org.eclipse.core.runtime.IPathgetTopObjectPreffix(org.eclipse.core.runtime.IPath resourceId) 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.Methods inherited from class com.e1c.langtool.ignore.AbstractResourceIgnoreTranslationChecker
createAndLoadMethods 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
-
Field Details
-
CONTENT_FEATURE_KEY
-
-
Constructor Details
-
SubsystemIgnoreTranslationChecker
public SubsystemIgnoreTranslationChecker()
-
-
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
-
getTopObjectPreffix
protected org.eclipse.core.runtime.IPath getTopObjectPreffix(org.eclipse.core.runtime.IPath resourceId) -
getProjectCache
protected Map<org.eclipse.core.runtime.IPath,Optional<TransIgnoreFile>> getProjectCache(org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor monitor) - Overrides:
getProjectCachein classAbstractResourceIgnoreTranslationChecker
-
getSubsystemContentPaths
protected Set<org.eclipse.core.runtime.IPath> getSubsystemContentPaths(IBmTransaction transaction, org.eclipse.xtext.naming.QualifiedName fqn, IProjectFileSystemSupport fileSystemSupport, org.eclipse.core.runtime.IProgressMonitor progressMonitor) -
appendContentPath
protected void appendContentPath(Subsystem top, Set<org.eclipse.core.runtime.IPath> result, IProjectFileSystemSupport fileSystemSupport, org.eclipse.core.runtime.IProgressMonitor monitor) -
collectSubsystemIgnoreFiles
protected List<org.eclipse.core.resources.IFile> collectSubsystemIgnoreFiles(org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor monitor)
-