Bug 127861 [DataBinding] Mark API provisional
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/databinding/viewers/TableViewerUpdatableTable.java
return ((ViewerLabel)cellValue).getText();
			}
			return cellValue.toString();
		}
	}
	private final TableViewer tableViewer;
	private UpdatableSetContentProvider contentProvider;
	private ICellProvider cellProvider;
	public TableViewerUpdatableTable(TableViewer tableViewer) {
		this.tableViewer = tableViewer;
		contentProvider = new UpdatableSetContentProvider();
		tableViewer.setContentProvider(contentProvider);
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jface.databinding.ITableThing#setCellProvider(org.eclipse.jface.databinding.ICellProvider)
	 */
	public void setCellProvider(ICellProvider cellProvider) {
		this.cellProvider = cellProvider;
		tableViewer.setLabelProvider(new LabelProvider());
		
		tableViewer.setInput(this);
	}
	
	/* (non-Javadoc)
	 * @see org.eclipse.jface.databinding.ITableThing#updateElement(java.lang.Object)
	 */
	public void updateElements(Object[] elements) {
		tableViewer.update(elements, null);
	}}