Interface IHierarchyNode

    • Method Detail

      • getElement

        org.eclipse.xtext.resource.IEObjectDescription getElement()
        Returns:
        an associated element that is used to build child nodes
      • getParent

        IHierarchyNode getParent()
        Returns:
        a parent; null if the node is a root
      • getReferences

        java.util.Collection<IHierarchyNodeReference> getReferences()
        Returns:
        references used to reach the node from a parent; empty if the node is a root
      • isRecursive

        boolean isRecursive()
        Returns:
        whether there is a parent (can be transitive) containing the same element as the node
      • mayHaveChildren

        boolean mayHaveChildren()
        Returns:
        whether the node may have children; e.g. a recursive node cannot have children