Examples of TurnViewportOnCommand


Examples of org.eclipse.nebula.widgets.nattable.print.command.TurnViewportOnCommand

                commandLayer, gridRowPositions);

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

        targetLayer.doCommand(new TurnViewportOnCommand());

        return true;
    }
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.print.command.TurnViewportOnCommand

            if (printer == null) {
                return;
            }
        } finally {
            // turn viewport on
            layer.doCommand(new TurnViewportOnCommand());
        }

        // Note: As we are operating on the same layer instance that is shown in
        // the UI
        // executing the print job asynchronously will not cause a real
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.print.command.TurnViewportOnCommand

         * This is done by resetting the client area provider and turning the
         * viewport on again.
         */
        private void restoreLayerState() {
            layer.setClientAreaProvider(originalClientAreaProvider);
            layer.doCommand(new TurnViewportOnCommand());
        }
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.print.command.TurnViewportOnCommand

                command.getConfigRegistry(), command.getGCFactory(),
                commandLayer, gridColumnPositions);

        commandLayer.doCommand(new MultiColumnResizeCommand(commandLayer,
                gridColumnPositions, gridColumnWidths));
        targetLayer.doCommand(new TurnViewportOnCommand());

        return true;
    }
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.print.command.TurnViewportOnCommand

            e.printStackTrace(System.err);
        }

        // These must be fired at the end of the thread execution
        layer.setClientAreaProvider(originalClientAreaProvider);
        layer.doCommand(new TurnViewportOnCommand());

        if (progressBar != null) {
            Shell childShell = progressBar.getShell();
            progressBar.dispose();
            childShell.dispose();
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.