Interface IHierarchyImporter

  • All Known Implementing Classes:
    AbstractHierarchyImporter

    public interface IHierarchyImporter
    Importer of specific objects group in hierarchy xml source
    • Method Detail

      • getHierarchyImporterSubTree

        IHierarchyImporterNode getHierarchyImporterSubTree​(IHierarchyImporterContext importerContext,
                                                           Path path,
                                                           org.eclipse.core.runtime.IProgressMonitor monitor)
                                                    throws ImportException,
                                                           IOException,
                                                           org.eclipse.core.runtime.OperationCanceledException
        Create a sub tree of IHierarchyImporterNode to import object with all sub elements on the path
        Parameters:
        importerContext - the import context info, cannot be null
        path - the path to import object, cannot be null
        monitor - the progress monitor for check cancel job, cannot be null
        Returns:
        the root IHierarchyImporterNode of import sub tree, never null
        Throws:
        ImportException - if an import error occurs
        IOException - if an I/O error occurs at creating tree nodes
        org.eclipse.core.runtime.OperationCanceledException - OperationCanceledException if the operation detects a request to cancel, using IProgressMonitor.isCanceled(), it should exit by throwing OperationCanceledException