Bug 305739 [viewers] #expandToLevel(Object, level) retrieves all children when virtual
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
if (expanded.containsKey(elementChildren[i])) {
						setExpanded(items[i], true);
					}
				}
			}
		}
		
		if (widget == tree && oldCnt == 0 && getItemCount(tree) != 0) {
			
			tree.setRedraw(false);
			tree.setRedraw(true);
		}
	}
	
	 boolean optionallyPruneChildren(Item item, Object element) {
		
		
		boolean needDummy = isExpandable(item, null, element);
		boolean haveDummy = false;
		
		Item[] items = getItems(item);
		for (int i = 0; i < items.length; i++) {
			if (items[i].getData() != null) {
				disassociate(items[i]);
				items[i].dispose();
			} else {
				if (needDummy && !haveDummy) {
					haveDummy = true;
				} else {