Bug 172019 [Viewers] Plus sign doesn't disappear when using deferred content providers
3.3 M4 Use a tree viewer with a content provider using IDeferredWorkbenchAdapter and DeferredTreeContentManager. When fetchDeferredChildren is call and no elements are reported to the element collector the plus sign of the node doesn't disappear. This work without problems under Windows and Mac/OS (e.g. the plus sign disappears).
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
Widget w = internalExpand(elementOrTreePath, false);
			if (w instanceof Item) {
				newSelection.add(w);
			} else if (w == null && elementOrTreePath instanceof TreePath) {
				TreePath treePath = (TreePath) elementOrTreePath;
				Object element = treePath.getLastSegment();
				if (element != null) {
					w = internalExpand(element, false);
					if (w instanceof Item) {
						newSelection.add(w);
					}
				}
			}
		}
		setSelection(newSelection);
		
		
		
		
		if (reveal && newSelection.size() > 0) {
			showItem((Item) newSelection.get(0));
		}
	}
	/**
	 * Shows the given item.
	 * 
	 * @param item
	 *            the item
	 */
	protected abstract void showItem(Item item);