Revision 11a549d1
Added by Patrick Plitzner over 5 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/CharacterMatrixConfigLabelAccumulator.java | ||
---|---|---|
13 | 13 |
|
14 | 14 |
import eu.etaxonomy.cdm.api.service.dto.TaxonRowWrapperDTO; |
15 | 15 |
import eu.etaxonomy.cdm.model.description.Feature; |
16 |
import eu.etaxonomy.cdm.model.taxon.TaxonNode;
|
|
16 |
import eu.etaxonomy.cdm.persistence.dto.TaxonNodeDto;
|
|
17 | 17 |
|
18 | 18 |
/** |
19 | 19 |
* @author pplitzner |
... | ... | |
39 | 39 |
boolean isEditable = true; |
40 | 40 |
|
41 | 41 |
Object rowObject = matrix.getBodyDataProvider().getRowObject(rowPosition); |
42 |
if(rowObject instanceof TaxonNode){ |
|
42 |
if(rowObject instanceof TaxonNodeDto){
|
|
43 | 43 |
configLabels.addLabel(CharacterMatrix.LABEL_TAXON_ROW); |
44 | 44 |
} |
45 | 45 |
else if(rowObject instanceof TaxonRowWrapperDTO){ |
Also available in: Unified diff
ref #7589 Use TaxonNodeDtos in character matrix