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
else if (parentElement instanceof Category)
				   return ((Category)parentElement).getAdventures();				
				return null;
			}
			public Class[] getTypes() {				
				return new Class[]  { Category.class, Account.class } ;
			}
			public void addTreeChangeListener(IChangeListener listener) {		
			}
			public void removeTreeChangeListener(IChangeListener listener) {
			}
			public void dispose() {				
			}
		};
	}
	public static IDataBindingContext getDatabindingContext(Control aControl) {
		IDataBindingContext result = DataBinding.createContext(aControl,
				new IUpdatableFactory[] { new BeanUpdatableFactory(),
						swtUpdatableFactory, viewersUpdatableFactory});
		return result;
	}
	public static SWTUpdatableFactory getSWTUpdatableFactory() {
		return swtUpdatableFactory;
	}
	
	public static ViewersUpdatableFactory getViewersUpdatableFactory(){
		return viewersUpdatableFactory;
	}
}