protected void expandItems ( MaterialTreeItem item ) { item . expand ( ) ; item . setHide ( true ) ; item . getTreeItems ( ) . forEach ( this :: expandItems ) ; }
Recursive function to expand each tree item .