Search in sources :

Example 1 with ExportToExcelCommand

use of net.sourceforge.nattable.export.excel.command.ExportToExcelCommand in project translationstudio8 by heartsome.

the class ExportToExcelAction method run.

public void run(NatTable natTable, KeyEvent event) {
    natTable.doCommand(new TurnViewportOffCommand());
    natTable.doCommand(new ExportToExcelCommand(natTable.getConfigRegistry(), natTable.getShell()));
    natTable.doCommand(new TurnViewportOnCommand());
}
Also used : TurnViewportOnCommand(net.sourceforge.nattable.print.command.TurnViewportOnCommand) ExportToExcelCommand(net.sourceforge.nattable.export.excel.command.ExportToExcelCommand) TurnViewportOffCommand(net.sourceforge.nattable.print.command.TurnViewportOffCommand)

Aggregations

ExportToExcelCommand (net.sourceforge.nattable.export.excel.command.ExportToExcelCommand)1 TurnViewportOffCommand (net.sourceforge.nattable.print.command.TurnViewportOffCommand)1 TurnViewportOnCommand (net.sourceforge.nattable.print.command.TurnViewportOnCommand)1