return comboEditor.getRenderer();
} else if (column == 5) {
/*if distribution column contains null value, no editor must be displayed,
as this class is a closed one (e.g. described by population)*/
if (getValueAt(row, column - 1) != null) {
return new ButtonCellEditor(editDistributionButton);
} else {
return getDefaultRenderer(String.class);
}
}
//Addition of column that contains delete buttons
if (column == 6) {
return new ButtonCellEditor(deleteButton);
} else {
return getDefaultRenderer(getModel().getColumnClass(column));
}
}