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

Examples of org.eclipse.nebula.widgets.nattable.print.config.DefaultPrintBindings


    protected void addExcelExportUIBindings() {
        addConfiguration(new DefaultExportBindings());
    }

    protected void addPrintUIBindings() {
        addConfiguration(new DefaultPrintBindings());
    }
View Full Code Here


        final NatTable natTable = new NatTable(gridPanel, viewportLayer, false);

        // adding this configuration adds the styles and the painters to use
        natTable.addConfiguration(new DefaultNatTableStyleConfiguration());
        natTable.addConfiguration(new DefaultPrintBindings());

        natTable.configure();

        GridDataFactory.fillDefaults().grab(true, true).applyTo(natTable);
View Full Code Here

        compositeLayer.addConfiguration(new DefaultEditBindings());

        // add print support
        compositeLayer.registerCommandHandler(new PrintCommandHandler(
                compositeLayer));
        compositeLayer.addConfiguration(new DefaultPrintBindings());

        // add excel export support
        compositeLayer.registerCommandHandler(new ExportCommandHandler(
                compositeLayer));
        compositeLayer.addConfiguration(new DefaultExportBindings());
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.print.config.DefaultPrintBindings

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.