Project

General

Profile

Revision 353bb041

ID353bb041ec8a2308ece2c7f4ef4d7853a40d081b
Parent ecf88434
Child 8315bf09

Added by Patrick Plitzner about 2 years ago

ref #7589 Only add characters as matrix columns

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/CharacterMatrix.java
97 97
import eu.etaxonomy.cdm.api.service.dto.RowWrapperDTO;
98 98
import eu.etaxonomy.cdm.api.service.dto.SpecimenRowWrapperDTO;
99 99
import eu.etaxonomy.cdm.common.monitor.IRemotingProgressMonitor;
100
import eu.etaxonomy.cdm.model.description.Character;
100 101
import eu.etaxonomy.cdm.model.description.DescriptionBase;
101 102
import eu.etaxonomy.cdm.model.description.DescriptiveDataSet;
102 103
import eu.etaxonomy.cdm.model.description.Feature;
......
271 272
        List<Feature> features = new ArrayList<>();
272 273
        node.getChildNodes().forEach(childNode->
273 274
                {
274
                    features.add(childNode.getFeature());
275
                    Feature feature = childNode.getFeature();
276
                    if(feature.isInstanceOf(Character.class)){
277
                        features.add(childNode.getFeature());
278
                    }
275 279
                    features.addAll(initFeatureList(childNode));
276 280
                });
277 281
        return features;

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)