Class CaiResourceContentImporter

    • Constructor Detail

      • CaiResourceContentImporter

        @Inject
        public CaiResourceContentImporter​(IResourceContentImporter.IMergeStrategy mergeStrategy,
                                          IQualifiedNameFilePathConverter qualifiedNameFilePathConverter,
                                          ISymbolicNameService symbolicNameService,
                                          IRuntimeVersionSupport runtimeVersionSupport,
                                          IResourceContentImporterExtensionManager resourceContentImporterExtensionManager)
        Constructs a new instance.
        Parameters:
        mergeStrategy - the merge strategy to use, may not be null.
        qualifiedNameFilePathConverter - the qualified name file path converter to use, may not be null.
        symbolicNameService - the symbolic name service to use, may not be null.
        runtimeVersionSupport - the runtime version support to use, may not be null.
        resourceContentImporterExtensionManager - the import extensions manager, may not be null.
    • Method Detail

      • getOrder

        public int getOrder()
        Description copied from interface: IResourceContentImporter
        Gets importer order. The lower the order value is, the earlier tasks created by this importer must be processed.
        Returns:
        the order value.
      • supports

        public boolean supports​(org.eclipse.core.runtime.IPath path)
        Description copied from interface: IResourceContentImporter
        Checks if this importer supports the specified resource.
        Parameters:
        path - The path to the resource to check. May not be null.
        Returns:
        true if the resource is supported, false otherwise.