TreeItem [] items = parent.items; for (int i=0; i<items.length; i++) { TreeItem item = items [i]; if (item != null && !item.isDisposed () && item.parentItem == this) {
for (int i=itemCount - 1; i >= 0; i--) { TreeItem item = parent._getItem (childIds [i], false); if (item != null && !item.isDisposed ()) {
public void removeAll () {	checkWidget ();	TreeItem [] items = parent.items;	for (int i=0; i<items.length; i++) {		TreeItem item = items [i];		if (item != null && !item.isDisposed () && item.parentItem == this) {			item.dispose ();		}	}}