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/MasterDetailScenarios.java
new Property(txtName, SWTProperties.TEXT),
				new Property(selectedAdventureUpdatable, "name",
						String.class, Boolean.FALSE), null);
		assertEquals(txtName.getText(), "");
		assertFalse(txtName.getEnabled());
		final Text txtDescription = new Text(getComposite(), SWT.BORDER);
		getDbc().bind(
				new Property(txtDescription,
						SWTProperties.ENABLED),
				adventureSelectionExistsUpdatable, null);
		getDbc().bind(
				new Property(txtDescription,
						SWTProperties.TEXT),
				new Property(selectedAdventureUpdatable,
						"description", String.class, Boolean.FALSE), null);
		assertFalse(adventureListViewer.getList().isEnabled());
		categoryListViewer.setSelection(new StructuredSelection(
				SampleData.SUMMER_CATEGORY));
		assertTrue(adventureListViewer.getList().isEnabled());
		assertFalse(txtName.getEnabled());
		adventureListViewer.setSelection(new StructuredSelection(
				SampleData.RAFTING_HOLIDAY));
		assertTrue(txtName.getEnabled());
		assertEquals(SampleData.RAFTING_HOLIDAY.getName(), txtName.getText());
		categoryListViewer.setSelection(new StructuredSelection(
				SampleData.WINTER_CATEGORY));
		assertTrue(adventureListViewer.getList().isEnabled());
		assertFalse(txtName.getEnabled());
	}
}