Class HpwaResourceContentImporter

    • Constructor Detail

      • HpwaResourceContentImporter

        @Inject
        public HpwaResourceContentImporter​(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

      • 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.