Class SubsystemIgnoreTranslationChecker

java.lang.Object
com.e1c.langtool.ignore.AbstractResourceIgnoreTranslationChecker
com.e1c.langtool.v8.dt.ignore.SubsystemIgnoreTranslationChecker
All Implemented Interfaces:
IgnoreTranslationChecker

public class SubsystemIgnoreTranslationChecker extends AbstractResourceIgnoreTranslationChecker
  • Field Details

    • CONTENT_FEATURE_KEY

      public static final FeatureKey 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: 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
    • 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:
      getProjectCache in class AbstractResourceIgnoreTranslationChecker
    • 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)