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...
examples/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/HelloWorld.java
public static void main(String[] args) {
		Display display = new Display();
		Shell shell = new Shell(display);
		DataBindingContext dbc = BindingFactory.createContext(shell);
		Combo combo = new Combo(shell, SWT.READ_ONLY);
		WritableList list = new WritableList();
		list.add("Hello");
		list.add("Bonjour");
		list.add("Guten Tag");
		dbc.bindList(SWTObservables.getItems(combo), list, null);
		combo.select(0);
		Text text = new Text(shell, SWT.BORDER);
		SimplePerson person = new SimplePerson("Boris", "1234 Carling Ave",
				"Ottawa", "Canada");
		dbc.bindValue(SWTObservables.getText(text, SWT.Modify),
				BeansObservables.getAttribute(person, "name"), null);
		GridLayoutFactory.swtDefaults().numColumns(2).generateLayout(shell);
		shell.pack();
		shell.open();
		while (!shell.isDisposed()) {
			if (!display.readAndDispatch())
				display.sleep();
		}
		display.dispose();
	}
}