TableCellRenderer (TreeNodeOnVcsRevision revision, @Nullable TableCellRenderer renderer) { if (renderer instanceof BaseHistoryCellRenderer) { ((BaseHistoryCellRenderer)renderer) .setCurrentRevision(myHistorySession.isCurrentRevision(revision.getRevision().getRevisionNumber())); } return renderer; }