Bug 159539 [DataBinding] Create a static initializer to create DBC with support for java primitives
It seems like in most scenarios default support for converters and validators for java's primitive types would be desired when creating a DataBindingContext. Attaching patch...
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/DatabindingContextTest.java
calls[0] > 0);
	}
	public void testCollectionBindingListeners() {
		WritableList v1 = new WritableList();
		WritableList v2 = new WritableList();
		Binding binding = dbc.bind(v1, v2, null);
		final int[] calls = new int[] { 0 };
		binding.addBindingEventListener(new BindingAdapter() {
			public ValidationError bindingEvent(BindingEvent e) {
				calls[0]++;
				return null;
			}
		});
		v2.add(0, "test");
		assertBindingCalls(calls);
		v2.remove(0);
		assertBindingCalls(calls);
		v2.add(0, "test2");
		assertBindingCalls(calls);
		v2.set(0, "test3");
		assertBindingCalls(calls);
	}
	private void assertBindingCalls(final int[] calls) {
		assertTrue("Should have seen some binding event calls", calls[0] > 0);
		calls[0] = 0;
	}
	public void testCreateNestedObservableWithArrays() {