Examples of FreezeSelectionCommand


Examples of org.eclipse.nebula.widgets.nattable.freeze.command.FreezeSelectionCommand

        this.overrideFreeze = overrideFreeze;
    }

    @Override
    public void run(NatTable natTable, KeyEvent event) {
        natTable.doCommand(new FreezeSelectionCommand(this.toggle,
                this.overrideFreeze));
    }
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.freeze.command.FreezeSelectionCommand

    // Freeze selection

    @Test
    public void testFreezeSelectionAtBeginning() {
        selectionLayer.setSelectedCell(2, 2);
        compositeFreezeLayer.doCommand(new FreezeSelectionCommand());

        TestLayer expectedLayer = new TestLayer(
                4,
                4,
                "0:0;100 | 1:1;100 | 2:0;100 | 3:1;100",
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.freeze.command.FreezeSelectionCommand

        });

        selectionLayer.setSelectedCell(2, 2);
        viewportLayer.setOriginX(viewportLayer.getStartXOfColumnPosition(1));
        viewportLayer.setOriginY(viewportLayer.getStartYOfRowPosition(1));
        compositeFreezeLayer.doCommand(new FreezeSelectionCommand());

        TestLayer expectedLayer = new TestLayer(
                3,
                3,
                "1:0;100 | 2:0;100 | 3:1;100",
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.