Revision aba1b9d9
Added by Patrick Plitzner almost 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/CharacterMatrixConfigLabelAccumulator.java | ||
---|---|---|
22 | 22 |
public class CharacterMatrixConfigLabelAccumulator implements IConfigLabelAccumulator { |
23 | 23 |
|
24 | 24 |
public static final String QUANTITATIVE = "QUANTITATIVE"; |
25 |
public static final String QUANT_AGGREGATED = QUANTITATIVE+"_AGGREGATED"; |
|
26 |
public static final String QUANT_EXACT = QUANTITATIVE+"_EXACT"; |
|
27 | 25 |
public static final String CATEGORICAL = "CATEGORICAL"; |
28 | 26 |
|
29 | 27 |
private CharacterMatrix matrix; |
... | ... | |
33 | 31 |
this.matrix = matrix; |
34 | 32 |
} |
35 | 33 |
|
36 |
|
|
37 | 34 |
@Override |
38 | 35 |
public void accumulateConfigLabels(LabelStack configLabels, int columnPosition, int rowPosition) { |
39 | 36 |
Object rowObject = matrix.getBodyDataProvider().getRowObject(rowPosition); |
... | ... | |
60 | 57 |
} |
61 | 58 |
else if(feature.isSupportsQuantitativeData()){ |
62 | 59 |
configLabels.addLabel(QUANTITATIVE); |
63 |
configLabels.addLabel(matrix.isExactQuantitativeValue()?QUANT_EXACT:QUANT_AGGREGATED); |
|
64 | 60 |
} |
65 | 61 |
} |
66 | 62 |
} |
Also available in: Unified diff
ref #7575 Merge aggregated and exact value cell editor