Bug 184755 [DataBinding] internal tree content provider does not work
I broke the tree content providers while trying to update them to use TreePaths. It would be good to have a working implementation again...
examples/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/contentprovider/test/TreeContentProviderTest.java
union.dispose();
	}
	private void createTree() {
		
		
		
		
		IUnorderedTreeProvider treeProvider = new IUnorderedTreeProvider() {
			public IObservableSet createChildSet(TreePath treePath) {
				
				
				if (treePath.getSegmentCount()==0 || treePath.getLastSegment() == tree.getInput()) {
					
					WritableSet topElements = new WritableSet();
					topElements.add(new SimpleNode("Random Set 1", set1));
					topElements.add(new SimpleNode("Random Set 2", set2));
					topElements.add(new SimpleNode("Random Set 3", set3));
					topElements.add(new SimpleNode("Union of the other sets", union));
					return topElements;
				}
				
				
				
				Object element = treePath.getLastSegment();
				if (element instanceof SimpleNode) {
					 
					
					return Observables.proxyObservableSet(((SimpleNode)element).getChildren());
				}