code: function() {
  			var topLevelNodes = this._navHandler.getTopLevelNodes();
  			for (var i = 0; i < topLevelNodes.length ; i++){
  				this.myTree.collapse(topLevelNodes[i]);
  			}
  		}
docs: Collapse all the nodes in the explorer