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
examples/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/javabean/PersonSampleData.java
/**
	 * @param aControl
	 * @return the data binding service
	 */
	public static IDataBindingContext getSWTtoJavaBeanDatabindingContext(
			Control aControl) {
		IDataBindingContext dbc = DataBinding.createContext(aControl);
		IUpdatableFactory emfValueFactory = new IUpdatableFactory() {
			public IUpdatable createUpdatable(Map properties,
					Object description, IDataBindingContext bindingContext) {
				if (description instanceof Property) {
					Property propertyDescription = (Property) description;
					Object object = propertyDescription.getObject();
					if (object instanceof Person) {
						return new JavaBeanUpdatableValue(object,
								(String) propertyDescription.getPropertyID());
					}
				}
				return null;
			}
		};
		dbc.addUpdatableFactory(emfValueFactory);
		return dbc;
	}
}