Bug 265878 [DataBinding] Compile errors ("never used locally") in tests and examples
using I20090217-2200.
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/viewers/ObservableValueEditingSupportTest.java
shell = getShell();
		dbc = new DataBindingContext();
		viewer = new TableViewer(shell);
		TableViewerColumn column = new TableViewerColumn(viewer, SWT.NONE);
		editingSupport = new ObservableValueEditingSupportStub(viewer, dbc);
		column.setEditingSupport(editingSupport);
		WritableList input = WritableList.withElementType(String.class);
		bean = new Bean();
		bean.setValue("value");
		input.add(bean);
		
		ViewerSupport.bind(viewer, input, BeanProperties.value(Bean.class,
				"value"));
	}
	public void testInitializeCellEditorValue_OrderOfOperations()
			throws Exception {
		assertEquals("precondition", 0, editingSupport.events.length());
		viewer.editElement(bean, 0);
		assertEquals(
				"createCellEditorObservable createElementObservable createBinding",
				editingSupport.events.toString());
	}
	public void testSaveCellEditorValue_UpdatesModel() throws Exception {
		Text text = new Text(shell, SWT.NONE);
		shell.open();
		String newValue = bean.getValue() + "a";
		viewer.editElement(bean, 0);
		editingSupport.editor.setValue(newValue);
		
		text.setFocus();