@Override
  protected void selectElement(Object element, String selectedText) {
    final TreePath treePath = (TreePath)element;
    TreeTableTree tree = myComponent.getTree();
    if (myCanExpand) tree.expandPath(treePath.getParentPath());
    int row = tree.getRowForPath(treePath);
    TableUtil.selectRows(myComponent, new int[] {
      myComponent.convertRowIndexToView(row)
    });
    TableUtil.scrollSelectionToVisible(myComponent);
  }
@Override
  protected void selectElement(Object element, String selectedText)