void releaseItems (TreeItem [] nodes) { for (int i=0; i<nodes.length; i++) { TreeItem item = nodes [i]; TreeItem [] sons = item.getItems (); if (sons.length != 0) { releaseItems (sons); } if (!isDisposed ()) { releaseItem (item, true);
void releaseItems (int [] ids) { if (ids == null) return; for (int i=ids.length-1; i>= 0; i--) { TreeItem item = _getItem (ids [i], false); if (item != null) { releaseItems (item.childIds); if (!isDisposed ()) { releaseItem (item, true); }
void releaseItems (TreeItem [] nodes) {	for (int i=0; i<nodes.length; i++) {		TreeItem item = nodes [i];		TreeItem [] sons = item.getItems ();		if (sons.length != 0) {			releaseItems (sons);		}		if (!isDisposed ()) {			releaseItem (item, true);		}	}}