Project

General

Profile

« Previous | Next » 

Revision 41883468

Added by Patrick Plitzner almost 6 years ago

ref #7549 Implement historgram tooltip for categorical data

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/CharacterMatrix.java
63 63
import org.eclipse.nebula.widgets.nattable.summaryrow.SummaryRowLayer;
64 64
import org.eclipse.nebula.widgets.nattable.tree.ITreeRowModel;
65 65
import org.eclipse.nebula.widgets.nattable.tree.TreeLayer;
66
import org.eclipse.nebula.widgets.nattable.ui.menu.DebugMenuConfiguration;
66 67
import org.eclipse.nebula.widgets.nattable.util.GUIHelper;
67 68
import org.eclipse.swt.SWT;
68 69
import org.eclipse.swt.layout.GridData;
......
121 122

  
122 123
    private LinkedMap<String, String> propertyToLabelMap = new LinkedMap<>();
123 124

  
125
    //FIXME use more concrete generic
124 126
    private EventList<Object> descriptions;
125 127

  
126 128
    private Collection<SpecimenNodeWrapper> specimenCache = null;
127 129

  
130
    private Map<Feature, CategoricalDataHistogram> featureToHistogramMap = new HashMap<>();
131

  
128 132
    private ListDataProvider<Object> bodyDataProvider;
129 133

  
130 134
    private FreezeLayer freezeLayer;
......
221 225
        //initial freeze of supplemental columns
222 226
        freezeSupplementalColumns(true);
223 227

  
228

  
229
        //add tooltip to table
230
        new ChartTooltip(this);
231

  
224 232
        this.layout();
225 233
    }
226 234

  
......
586 594
        part.addUpdateResult(result);
587 595
    }
588 596

  
597
    public Map<Feature, CategoricalDataHistogram> getFeatureToHistogramMap() {
598
        return featureToHistogramMap;
599
    }
600

  
589 601
}

Also available in: Unified diff