< prev index next >
application/org.openjdk.jmc.flightrecorder.ui/src/main/java/org/openjdk/jmc/flightrecorder/ui/common/DataPageToolkit.java
Print this page
@@ -512,10 +512,13 @@
Composite parent, IItemCollection items, IItemQuery query, TableSettings settings) {
CompositeKeyHistogramBuilder histogramBuilder = new CompositeKeyHistogramBuilder();
for (IAttribute<?> attribute : query.getAttributes()) {
histogramBuilder.addKeyColumn(attribute);
}
+ for (IAggregator<?, ?> aggregator : query.getAggregators()) {
+ histogramBuilder.addColumn(aggregator.getName(), aggregator);
+ }
ItemHistogram table = histogramBuilder.buildWithoutBorder(parent, settings);
return table;
}
public static IBaseLabelProvider createTableHighlightProvider(Pattern highlightPattern, boolean isWarning) {
< prev index next >