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
unmapElement(data, item);
				}
				item.setData(element);
				mapElement(element, item);
			}
			int columnCount = table.getColumnCount();
			if (columnCount == 0)
				columnCount = 1;
			
			
			for (int column = 0; column < columnCount || column == 0; column++) {
				ViewerColumn columnViewer = getViewerColumn(column);
				columnViewer.refresh(updateCell(getRowPartFromItem(item),
						column));
				
				
				if (item.isDisposed()) {
					unmapElement(element, item);
					return;
				}
			}
		}
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.viewers.ColumnViewer#getColumnViewerOwner(int)
	 */
	protected Widget getColumnViewerOwner(int columnIndex) {
		if (columnIndex < 0 || columnIndex > getTable().getColumnCount()) {