return super.getCellRenderer(row, 1);
} else if (column == 6) {
/*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);
}
}
// Column for refercence source
else if (column == 7) {
return stations.getRenderer();
} else if (column == 8) {
return new ButtonCellEditor(deleteButton);
} else {
return getDefaultRenderer(getModel().getColumnClass(column));
}
}