public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
int col = table.convertColumnIndexToModel(column);
if (columns[col].equals(CommitTableModel.COLUMN_NAME_NAME)) {
TableSorter sorter = (TableSorter) table.getModel();
CommitTableModel model = (CommitTableModel) sorter.getTableModel();
GitFileNode node = model.getNode(sorter.modelIndex(row));
CommitOptions options = model.getOptions(sorter.modelIndex(row));
if (!isSelected) {
value = "<html>" + HtmlFormatter.getInstance().annotateNameHtml( // NOI18N
node.getFile().getName(), node.getInformation(), null);
}
if (options == CommitOptions.EXCLUDE) {
value = "<html><s>" + value + "</s></html>";
}
return super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);