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/PropertyScenarios.java
public Object convertTargetToModel(Object fromObject) {
						return new Double((Strg) fromObject);
					}
					public Object convertModelToTarget(Object toObject) {
						return ((Double) toObject).toStrg();
					}
				}, new IValidator() {
					public Strg isPartiallyValid(Object value) {
						return null;
					}
					public Strg isValid(Object value) {
						Strg strgValue = (Strg) value;
						try {
							double doubleValue = new Double(strgValue)
									.doubleValue();
							if (doubleValue < 0.0) {
								return cannotBeNegativeMessage;
							}
							return null;
						} catch (NumberFormatException ex) {
							return mustBeCurrencyMessage;
						}
					}
				}));
		assertEquals("5.0", text.getText());
		assertEquals("", getDbc().getCombedValidationMessage().getValue());
		enterText(text, "0.65");
		assertEquals("", getDbc().getCombedValidationMessage().getValue());
		assertEquals(0.65, adventure.getPrice(), 0.0001);
		adventure.setPrice(42.24);