Interface IHierarchyImporter
-
- All Known Implementing Classes:
AbstractHierarchyImporter
public interface IHierarchyImporter
Importer of specific objects group in hierarchy xml source
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IHierarchyImporterNode
getHierarchyImporterSubTree(IHierarchyImporterContext importerContext, Path path, org.eclipse.core.runtime.IProgressMonitor monitor)
Create a sub tree ofIHierarchyImporterNode
to import object with all sub elements on the path
-
-
-
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 ofIHierarchyImporterNode
to import object with all sub elements on the path- Parameters:
importerContext
- the import context info, cannot benull
path
- the path to import object, cannot benull
monitor
- the progress monitor for check cancel job, cannot benull
- Returns:
- the root
IHierarchyImporterNode
of import sub tree, nevernull
- Throws:
ImportException
- if an import error occursIOException
- if an I/O error occurs at creating tree nodesorg.eclipse.core.runtime.OperationCanceledException
- OperationCanceledException if the operation detects a request to cancel, usingIProgressMonitor.isCanceled()
, it should exit by throwing OperationCanceledException
-
-