Interface IHierarchyImporterNode

    • Method Detail

      • getSource

        Path getSource()
        Get path to import source
        Returns:
        the path to import source, never null
      • setParentNode

        void setParentNode​(IHierarchyImporterNode parent)

        Set parent with the context of need to import the node

        This node be added to list of children in parent node

        Parameters:
        parent - the parent node, not null
      • getParentNode

        IHierarchyImporterNode getParentNode()
        Get parent node
        Returns:
        the parent node, can be null if node is root
      • addChildNode

        void addChildNode​(IHierarchyImporterNode child)

        Add the specified node to list of children

        This node set in parent property for specified node

        Parameters:
        child - new child node, not null
      • addIndependentChildNode

        void addIndependentChildNode​(IHierarchyImporterNode child)

        Add the specified node to the list independent of children

        This node set in parent property for specified node

        Parameters:
        child - new child node, not null
      • removeChildNode

        boolean removeChildNode​(IHierarchyImporterNode child)

        Remove the specified node from list of children

        This node unset in parent property for specified node

        Parameters:
        child - new child node, not null
      • getIndependentChildrenNodes

        List<IHierarchyImporterNode> getIndependentChildrenNodes()
        Gets list of independent children. Independent children may be processed separately from the parent.
        Returns:
        a list of IHierarchyImporterNode, never null
      • executeImport

        void executeImport​(Collection<org.eclipse.core.runtime.IStatus> statuses)
        Run action of importing data
        Parameters:
        statuses - a collection the result statuses of all the operations will be added into, not null