Bug 127861 [DataBinding] Mark API provisional
examples/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/model/SampleData.java
public Class[] getTypes() {				
				return new Class[]  { Catalog.class, Category.class, Lodging.class, Account.class, Adventure.class } ;
			}
			public void addTreeChangeListener(IChangeListener listener) {		
			}
			public void removeTreeChangeListener(IChangeListener listener) {
			}
			public void dispose() {				
			}
		};
		
		CATEGORY_TREE = new ITree() {
			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;
				}			
				return false;				
			}
			public void setChildren(Object parentElement, Object[] children) {
				
			}
			public Object[] getChildren(Object parentElement) {
				if (parentElement==null)
					return catalog.getCategories();
				else if (parentElement instanceof Category)