Project

General

Profile

« Previous | Next » 

Revision 487ef756

Added by Patrick Plitzner over 5 years ago

ref #7674 Add icon for different description types

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/CharacterMatrixConfigLabelAccumulator.java
47 47
            if(MatrixUtility.isAggregatedTaxonDescription(taxonRowWrapper)){
48 48
                configLabels.addLabel(CharacterMatrix.LABEL_TAXON_AGGREGATED_DESCRIPTION);
49 49
                isEditable = false;
50
                if(columnPosition==0){
51
                    configLabels.addLabel(CharacterMatrix.LABEL_TAXON_AGGREGATED_DESCRIPTION_ICON);
52
                }
50 53
            }
51 54
            else if(MatrixUtility.isDefaultTaxonDescription(taxonRowWrapper)){
52 55
                configLabels.addLabel(CharacterMatrix.LABEL_TAXON_DEFAULT_DESCRIPTION);
56
                if(columnPosition==0){
57
                    configLabels.addLabel(CharacterMatrix.LABEL_TAXON_DEFAULT_DESCRIPTION_ICON);
58
                }
53 59
            }
54 60
            else if(MatrixUtility.isLiteratureTaxonDescription(taxonRowWrapper)){
55 61
                configLabels.addLabel(CharacterMatrix.LABEL_TAXON_LITERATURE_DESCRIPTION);
62
                if(columnPosition==0){
63
                    configLabels.addLabel(CharacterMatrix.LABEL_TAXON_LITERATURE_DESCRIPTION_ICON);
64
                }
56 65
            }
57 66
            //check for supplemental data
58 67
            if(!taxonRowWrapper.getDescription().getSources().isEmpty() && columnPosition==0){

Also available in: Unified diff