Bug 159597 [Viewers] getRowPart(Point) behaves differently on Table than on Tree
getRowPart(Point) is reacting different between on TableViewer and TreeViewer: TableViewer: ------------ protected Item getItem(int x, int y) { return table.getItem(new Point(x, y)); } TreeViewer: ----------- protected Item getItem(int x, int y) { return getTree().getItem(getTree().toControl(new Point(x, y))); }
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TableViewer.java
preservingSelection(new Runnable() {
			public void run() {
				internalRemove(elements);
			}
		});
	}
	/**
	 * Removes the given element from this table viewer. The selection is
	 * updated if necessary.
	 * <p>
	 * This method should be called (by the content provider) when a single
	 * element has been removed from the model, in order to cause the viewer to
	 * accurately reflect the model. This method only affects the viewer, not
	 * the model. Note that there is another method for efficiently processing
	 * the simultaneous removal of multiple elements.
	 * </p>
	 * <strong>NOTE:</strong> removing an object from a virtual table will
	 * decrement the itemCount.
	 * 
	 * @param element
	 *            the element
	 */
	public void remove(Object element) {
		remove(new Object[] { element });
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.viewers.StructuredViewer#reveal(java.lang.Object)
	 */