Bug 164989 [Viewers] ColumnViewer#getColumnViewerOwner() doesn't respects column count
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TableTreeViewer.java
/* (non-Javadoc)
     * Method declared on AbstractTreeViewer.
     */
    protected void hookControl(Control control) {
        super.hookControl(control);
        tableTree.getTable().addMouseListener(new MouseAdapter() {
            public void mouseDown(MouseEvent e) {
                
                
                 
                
                org.eclipse.swt.widgets.TableItem[] items = tableTree
                        .getTable().getItems();
                for (int i = 0; i < items.length; i++) {
                    Rectangle rect = items[i].getImageBounds(0);
                    if (rect.contains(e.x, e.y)) {
						return;
					}
                }
                tableViewerImpl.handleMouseDown(e);
            }
        });
    }
    /**
     * Returns whether there is an active cell editor.
     *
     * @return <code>true</code> if there is an active cell editor, and 
     *   <code>false</code> otherwise
     */
    public boolean isCellEditorActive() {