Bug 153993 [Viewers] Common Baseclass for Tree/TableEditorImpl
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TableViewer.java
}
		if (count < size) {
			System.arraycopy(indices, 0, indices = new int[count], 0, count);
		}
		table.setSelection(indices);
		if (reveal && firstItem != null) {
			table.showItem(firstItem);
		}
	}
	/**
	 * Set the item count of the receiver.
	 * 
	 * @param count
	 *            the new table size.
	 * 
	 * @since 3.1
	 */
	public void setItemCount(int count) {
		int oldCount = getTable().getItemCount();
		if (count < oldCount) {
			
			for (int i = count; i < oldCount; i++) {
				TableItem item = getTable().getItem(i);
				if (item.getData() != null) {
					disassociate(item);
				}
			}
		}
		getTable().setItemCount(count);
		if (virtualManager != null) {