void (Object element, String selectedText) { VcsFileRevision revision = (VcsFileRevision)element; TableUtil.selectRows(myComponent, new int[]{myComponent.convertRowIndexToView(revisions.indexOf(revision))}); TableUtil.scrollSelectionToVisible(myComponent); }