def get_children(self, node):

        # Determine the node type for this node.
        node_type = self.node_manager.get_node_type(node)

        # Does the node allow children (ie. a folder allows children, a file
        # does not)?
        if node_type.allows_children(node):
            # Get the node's children.
            children = node_type.get_children(node)

        else:
            children = []

        return children
Returns the children of a node.
dataset/ETHPy150Open enthought/pyface/pyface/tree/node_tree_model.py/NodeTreeModel.get_children