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
text.notifyListeners(SWT.FocusOut,null);
		assertEquals(text.getText(),adventure.getName());
		
		text.setText("Turkey");
		
		text.notifyListeners(SWT.KeyDown,event);
		
		assertEquals(currentText,text.getText());
		
	}
	public void testScenario04(){
		
		 
		getSWTUpdatableFactory().setUpdateTime(IDataBindingContext.TIME_EARLY);	
		getDbc().bind(text, new Property(adventure, "name"), null);
		String originalName = adventure.getName();
		
		String newName = "Switzerland";
		for (int i = 0; i < newName.length(); i++) {
			text.setText(newName.substring(0,i+1));
						
			assertEquals(newName.substring(0,i+1),adventure.getName());
		}
		
		Event event = new Event();
		event.character = SWT.ESC;
		event.keyCode = 27;
		text.notifyListeners(SWT.KeyDown,event);
		assertEquals(adventure.getName(),originalName);