Class CallHierarchyViewTreeNode

    • Constructor Detail

      • CallHierarchyViewTreeNode

        public CallHierarchyViewTreeNode​(CallHierarchyViewPart viewPart,
                                         CallHierarchyViewTreeNode parent,
                                         List<org.eclipse.xtext.resource.IReferenceDescription> descriptions)
        Constructor
        Parameters:
        viewPart - actual CallHierarchyViewPart, can't be null
        parent - parent of this node, can be null if it's root node
        descriptions - list of IReferenceDescription corresponding to this node, can't be null
    • Method Detail

      • getParent

        public CallHierarchyViewTreeNode getParent()
        Gets parent of this node
        Returns:
        parent of this node, can be null if it's root node
      • addChild

        public void addChild​(CallHierarchyViewTreeNode child)
        Adds new child
        Parameters:
        child - new child node, can't be null
      • removeChild

        public void removeChild​(CallHierarchyViewTreeNode child)
        Remove child from node
        Parameters:
        child - removing child node
      • getDescriptions

        public List<org.eclipse.xtext.resource.IReferenceDescription> getDescriptions()
        Gets list of IReferenceDescription corresponding to this node
        Returns:
        list of IReferenceDescription corresponding to this node, never null