@Override protected boolean doCommand(final AutoResizeColumnsCommand command) { for (final int columnPosition : command.getColumnPositions()) { fDataLayer.setColumnWidthToAutoWidth(columnPosition); } return true; }
@Override protected boolean doCommand(final MultiColumnResizeCommand command) { for (final IValueIterator posIter = new ValueIterator(command.getPositions()); posIter.hasNext(); ) { final long position = posIter.nextValue(); fDataLayer.setColumnWidth(position, command.getColumnWidth(position)); } return true; }