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/TextControlScenario.java
getDbc().bind(text, new Property(transportation, "price"), null);
		assertEquals(Double.toString(transportation.getPrice()), text.getText());
		text.setText("9876.54");
		text.notifyListeners(SWT.FocusOut, null);		
		assertEquals(9876.54, transportation.getPrice(),0);
		transportation.setPrice(1234.56);
		assertEquals("1234.56", text.getText());
	}	
	
	public void testScenario03(){
		
		 
		getSWTUpdatableFactory().setUpdateTime(IDataBindingContext.TIME_LATE);		
		getDbc().bind(text, new Property(adventure, "name"), null);
		String currentText = text.getText();
		text.setText("Switzerland");
		
		
		assertEquals(currentText,adventure.getName());
		Event event = new Event();
		event.character = SWT.ESC;
		event.keyCode = 27;
		text.notifyListeners(SWT.KeyDown,event);
		
		assertEquals(currentText,text.getText());
		
		assertEquals(adventure.getName(),currentText);
		
		currentText = "Austria";
		text.setText(currentText);