Revision 7cc57f1d
Added by Patrick Plitzner almost 5 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/categorical/CategoricalComboBoxDataProvider.java | ||
---|---|---|
14 | 14 |
import org.eclipse.nebula.widgets.nattable.edit.editor.IComboBoxDataProvider; |
15 | 15 |
|
16 | 16 |
import eu.etaxonomy.cdm.model.description.Feature; |
17 |
import eu.etaxonomy.cdm.model.description.State;
|
|
17 |
import eu.etaxonomy.cdm.persistence.dto.TermDto;
|
|
18 | 18 |
import eu.etaxonomy.taxeditor.editor.descriptiveDataSet.matrix.CharacterMatrix; |
19 | 19 |
|
20 | 20 |
/** |
... | ... | |
34 | 34 |
@Override |
35 | 35 |
public List<?> getValues(int columnIndex, int rowIndex) { |
36 | 36 |
Feature feature = matrix.getIndexToCharacterMap().get(columnIndex); |
37 |
List<State> supportedStatesForCategoricalFeature = matrix.getSupportedStatesForCategoricalFeature(feature);
|
|
37 |
List<TermDto> supportedStatesForCategoricalFeature = matrix.getSupportedStatesForCategoricalFeature(feature);
|
|
38 | 38 |
return supportedStatesForCategoricalFeature; |
39 | 39 |
} |
40 | 40 |
|
Also available in: Unified diff
ref #8242 Refactor states to use DTOs