class ColumnDefinitionTableModel extends AbstractTableModel {

    @Override
    public boolean isCellEditable(int rowIndex, int columnIndex)
    {
        boolean isEditable = true;

        if (columnIndex == 3)
        {
            isEditable = myIsFormatEditable;
            if (isEditable)
            {
                ColumnDefinitionRow row = myRows.get(rowIndex);
                isEditable = StringUtils.isNotEmpty(row.getDataType());
            }
        }

        return isEditable;
    }

}