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
/**
	 * Use a TreeViewerDescription to bind a TreeViewer to a ITree model.
	 */
	public void test_Trees_Scenario02() {
		
		
		TreeViewerDescription treeDescription = new TreeViewerDescription(tviewer);
		
		treeDescription.addColumn(Catalog.class, "class.name");
		
		treeDescription.addColumn(Lodging.class, "name");
		treeDescription.addColumn(Lodging.class, "description");		
		
		treeDescription.addColumn(Adventure.class, "name");
		treeDescription.addColumn(Adventure.class, "price");
					
		
		treeDescription.addColumn(Category.class, "name");
		
		treeDescription.addColumn(Account.class, "firstName");
		treeDescription.addColumn(Account.class, "lastName");
		
		getDbc().bind(treeDescription, catalogModelTree, null);
		
		assertEqualsTreeNode(null, null, catalogModelTree);				
		
		TreeItem item = tviewer.getTree().getItem(0);		
		assertEquals(item.getText(), catalog.getClass().getName());
		
		assertLabelProvider(item);