Bug 167450 [DataBinding] Get rid of bind support factory magic
I finally realized that we don't need that other magic factory. I'll move fillBindSpecDefaults() and the methods it calls (createConverter, createValidator etc) to a new class DefaultBindSpec. Clients who want default validators and converters created for them just create a DefaultBindSpec as opposed to a (rather empty) BindSpec. I will also move the early type checking into DefaultBindSpec to make it optional as well.
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/databinding/viewers/OrderedTreeNode.java
diffEntry.getPosition());
			} else {
				removals.add(diffEntry.getElement());
			}
		}
		
		if (shouldHavePendingNode && !hasPendingNode) {
			contentProvider
					.insert(element, contentProvider.getPendingNode(), 0);
			hasPendingNode = true;
		}
		
		if (!shouldHavePendingNode && hasPendingNode) {
			removals.add(contentProvider.getPendingNode());
			hasPendingNode = false;
		}
		if (!removals.isEmpty()) {
			contentProvider.remove(element, removals, children.isEmpty()
					&& !hasPendingNode);
		}
		updateStale();
	}
	public void handleStale(IObservable source) {
		boolean shouldHavePendingNode = children.isEmpty()
				&& children.isStale();
		
		if (shouldHavePendingNode && !hasPendingNode) {
			hasPendingNode = shouldHavePendingNode;
			contentProvider.insert(element, Collections
					.singletonList(contentProvider.getPendingNode()), 0);