use of net.sourceforge.nattable.selection.command.SelectColumnCommand in project translationstudio8 by heartsome.
the class ViewportSelectColumnCommandHandler method doCommand.
@Override
protected boolean doCommand(ViewportSelectColumnCommand command) {
IUniqueIndexLayer scrollableLayer = viewportLayer.getScrollableLayer();
int scrollableColumnPosition = viewportLayer.localToUnderlyingColumnPosition(command.getColumnPosition());
int scrollableRowPosition = viewportLayer.getOriginRowPosition();
scrollableLayer.doCommand(new SelectColumnCommand(scrollableLayer, scrollableColumnPosition, scrollableRowPosition, command.isWithShiftMask(), command.isWithControlMask()));
return true;
}
Aggregations