+++ /dev/null
-package eu.etaxonomy.taxeditor.editor.descriptiveDataSet.matrix;
-
-import java.util.Set;
-
-import org.eclipse.nebula.widgets.nattable.config.IConfigRegistry;
-import org.eclipse.nebula.widgets.nattable.config.IEditableRule;
-import org.eclipse.nebula.widgets.nattable.layer.cell.ILayerCell;
-
-public class ElementEditableRule implements IEditableRule {
-
- @Override
- public boolean isEditable(ILayerCell cell, IConfigRegistry configRegistry) {
- if (cell.getDataValue() instanceof Set){
- if(((Set)cell.getDataValue()).size() > 1)
- return false;
- }
- return true;
- }
-
- @Override
- public boolean isEditable(int columnIndex, int rowIndex) {
-
- // TODO Auto-generated method stub
- return false;
- }
-
-}