Bug 212235 [DataBinding] Tests for ShellObservableValue
Will attach patch..
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/internal/databinding/internal/swt/ShellObservableValue.java
public ShellObservableValue(Shell shell) {
		super(shell);
		this.shell = shell;
	}
	
	/**
	 * @param realm
	 * @param shell
	 */
	public ShellObservableValue(Realm realm, Shell shell) {
		super(realm, shell);
		this.shell = shell;
	}
	public void doSetValue(final Object value) {
		String oldValue = shell.getText();
		String newValue = value == null ? "" : value.toString(); 
		shell.setText(newValue);
		
		if (!newValue.equals(oldValue)) {
			fireValueChange(Diffs.createValueDiff(oldValue, newValue));
		}
	}
	public Object doGetValue() {
		return shell.getText();
	}
	public Object getValueType() {
		return String.class;
	}
}