Project

General

Profile

« Previous | Next » 

Revision 77aef047

Added by Patrick Plitzner about 5 years ago

ref #8146 Restrict character matrix to characters

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/categorical/CategoricalComboBoxDataProvider.java
34 34

  
35 35
    @Override
36 36
    public List<?> getValues(int columnIndex, int rowIndex) {
37
        Feature feature = matrix.getIndexToFeatureMap().get(columnIndex);
37
        Feature feature = matrix.getIndexToCharacterMap().get(columnIndex);
38 38
        List<State> supportedStatesForCategoricalFeature = matrix.getSupportedStatesForCategoricalFeature(feature);
39 39
        maxVisibleItems = Math.max(3, Math.min(supportedStatesForCategoricalFeature.size()-1, 10));
40 40
        return supportedStatesForCategoricalFeature;

Also available in: Unified diff