use of org.eclipse.nebula.widgets.nattable.extension.glazedlists.groupBy.command.GroupByColumnIndexCommand in project nebula.widgets.nattable by eclipse.
the class GroupByDragMode method mouseUp.
@Override
public void mouseUp(NatTable natTable, MouseEvent event) {
LabelStack regionLabels = natTable.getRegionLabelsByXY(event.x, event.y);
if (regionLabels != null && regionLabels.hasLabel(GroupByHeaderLayer.GROUP_BY_REGION) && this.selectedColumnIndex != -1) {
natTable.doCommand(new GroupByColumnIndexCommand(this.selectedColumnIndex));
this.selectedColumnIndex = -1;
}
}
Aggregations