Package org.eclipse.nebula.widgets.nattable.resize.command

Examples of org.eclipse.nebula.widgets.nattable.resize.command.MultiRowResizeCommand


        int[] gridRowHeights = MaxCellBoundsHelper.getPreferredRowHeights(
                command.getConfigRegistry(), command.getGCFactory(),
                commandLayer, gridRowPositions);

        commandLayer.doCommand(new MultiRowResizeCommand(commandLayer,
                gridRowPositions, gridRowHeights));

        targetLayer.doCommand(new TurnViewportOnCommand());

        return true;
View Full Code Here


     * @return <code>true</code> if the command has been handled,
     *         <code>false</code> otherwise
     */
    protected boolean handleRowResizeCommand(RowResizeCommand command) {
        if (isRowPositionFullySelected(command.getRowPosition())) {
            return super.doCommand(new MultiRowResizeCommand(this,
                    selectionModel
                            .getFullySelectedRowPositions(getColumnCount()),
                    command.getNewHeight()));
        } else {
            return super.doCommand(command);
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.resize.command.MultiRowResizeCommand

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.