Project

General

Profile

« Previous | Next » 

Revision 77aef047

Added by Patrick Plitzner about 5 years ago

ref #8146 Restrict character matrix to characters

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/CategoricalChartTooltip.java
58 58

  
59 59
        int colPos = matrix.getNatTable().getColumnPositionByX(event.x);
60 60
        int colIndex = matrix.getNatTable().getColumnIndexByPosition(colPos);
61
        Feature feature = matrix.getIndexToFeatureMap().get(colIndex);
61
        Feature feature = matrix.getIndexToCharacterMap().get(colIndex);
62 62
        CategoricalDataHistogram histogram = matrix.getFeatureToHistogramMap().get(feature);
63 63

  
64 64
        Composite tooltip;
......
82 82
        //get histogram for column
83 83
        int colPos = matrix.getNatTable().getColumnPositionByX(event.x);
84 84
        int colIndex = matrix.getNatTable().getColumnIndexByPosition(colPos);
85
        Feature feature = matrix.getIndexToFeatureMap().get(colIndex);
85
        Feature feature = matrix.getIndexToCharacterMap().get(colIndex);
86 86
        CategoricalDataHistogram histogram = matrix.getFeatureToHistogramMap().get(feature);
87 87

  
88 88
        // set chart title
......
129 129
        int colPos = matrix.getNatTable().getColumnPositionByX(event.x);
130 130
        int colIndex = matrix.getNatTable().getColumnIndexByPosition(colPos);
131 131
        int rowPos = matrix.getNatTable().getRowPositionByY(event.y);
132
        Feature feature = matrix.getIndexToFeatureMap().get(colIndex);
132
        Feature feature = matrix.getIndexToCharacterMap().get(colIndex);
133 133

  
134 134
        if(matrix.isShowTooltips()
135 135
                && rowPos==1

Also available in: Unified diff