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/model/SampleData.java
Catalog catalog = CATALOG_2005;						
			public boolean hasChildren(Object element) {
				if (element instanceof Catalog) {					
					return true;  
				}
				else if (element instanceof Category) {
					Adventure[] list = ((Category)element).getAdventures();
					return list==null?true:list.length>0;
				}
				else if (element instanceof Lodging) {
					
				}
				return false;				
			}
			public void setChildren(Object parentElement, Object[] children) {
				
			}
			public Object[] getChildren(Object parentElement) {
				if (parentElement==null)
					return new Object[] { catalog };
				else if (parentElement instanceof Catalog) {
					List list = new ArrayList();					
					list.addAll(Arrays.asList(((Catalog)parentElement).getCategories()));
					list.addAll(Arrays.asList(((Catalog)parentElement).getLodgings()));
					list.addAll(Arrays.asList(((Catalog)parentElement).getAccounts()));
					return list.toArray();
				}
				else if (parentElement instanceof Category)
				   return ((Category)parentElement).getAdventures();				
				return null;