private JTree getTreeToPerformAction() {
      JTree tree = !myProcessCursorKeys ? null : getTree();
      if (tree == null || 1 != getSelectedRowCount()) return null;
      if (!getColumnModel().getColumnSelectionAllowed()) return tree;
      int column = getColumnModel().getSelectionModel().getAnchorSelectionIndex();
      return 0 <= column && column < getColumnCount() && !isTreeColumn(column) ? null : tree;
    }
private JTree getTreeToPerformAction()