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

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


            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

         * 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

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

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

        return true;
    }
View Full Code Here

            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

Related Classes of org.eclipse.nebula.widgets.nattable.print.command.TurnViewportOnCommand

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.