Class ResourceContainerRelativeLocationConverter

  • All Implemented Interfaces:
    IIndexLocationConverter

    public class ResourceContainerRelativeLocationConverter
    extends Object
    implements IIndexLocationConverter
    A location converter for converting project resource locations to be relative to a specified container. Resources outside of the associated project will not be converted (ignored).
    This location converter is internal-representation-compatible with URIRelativeLocationConverter
    • Field Detail

      • root

        protected org.eclipse.core.resources.IWorkspaceRoot root
      • fullPath

        protected org.eclipse.core.runtime.IPath fullPath
    • Constructor Detail

      • ResourceContainerRelativeLocationConverter

        public ResourceContainerRelativeLocationConverter​(org.eclipse.core.resources.IContainer container)
        Parameters:
        container - the resource container to convert relative to