Bug 198904 [DataBinding] Listeners in swt Observables are not removed on dispose
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/internal/databinding/internal/swt/TableSingleSelectionObservableValue.java
/**
	 * @param table
	 */
	public TableSingleSelectionObservableValue(Table table) {
		super(table);
	}
	private Table getTable() {
		return (Table) getWidget();
	}
	protected void doAddSelectionListener(final Runnable runnable) {
		getTable().addSelectionListener(new SelectionListener() {
			public void widgetDefaultSelected(SelectionEvent e) {
				runnable.run();
			}
			public void widgetSelected(SelectionEvent e) {
				runnable.run();
			}
		});
	}
	protected int doGetSelectionIndex() {
		return getTable().getSelectionIndex();
	}
	protected void doSetSelectionIndex(int index) {
		getTable().setSelection(index);
	}
}