Bug 117965 [DataBinding] Change tests plugin to pre-req examples
This will allow the UI tests in examples to make use of the pojo model
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/scenarios/TreeScenarios.java
modelDescription.addChildrenProperty(Category.class, "adventures");
				
		
		getDbc().bind(treeDescription, modelDescription, null);
		
		assertEqualsTreeNode(null, null, catalogModelTree);
		
				
		TreeItem item = tviewer.getTree().getItem(0);		
		assertEquals(item.getText(), catalog.getClass().getName());
		
		assertLabelProvider(item);
		
		
		
		Account[] accounts = catalog.getAccounts();
		for (int i = 0; i < accounts.length; i++) 
			accounts[i].setFirstName("Changed: "+accounts[i].getFirstName());
		Category[] categories = catalog.getCategories();
		for (int i = 0; i < categories.length; i++) { 
			categories[i].setName("Changed: "+categories[i].getName());
			Adventure[] adventures = categories[i].getAdventures();
			for (int j = 0; j < adventures.length; j++) 
				adventures[j].setName("Changed: "+adventures[i].getName());
		}
		
		assertLabelProvider(item);