Search in sources :

Example 1 with ExcelExporter

use of org.eclipse.nebula.widgets.nattable.export.excel.ExcelExporter in project nebula.widgets.nattable by eclipse.

the class DefaultExportBindings method configureRegistry.

@Override
public void configureRegistry(IConfigRegistry configRegistry) {
    configRegistry.registerConfigAttribute(ExportConfigAttributes.EXPORTER, new ExcelExporter());
    configRegistry.registerConfigAttribute(ExportConfigAttributes.EXPORT_FORMATTER, new DefaultExportFormatter());
    configRegistry.registerConfigAttribute(ExportConfigAttributes.DATE_FORMAT, // $NON-NLS-1$
    "m/d/yy h:mm");
}
Also used : DefaultExportFormatter(org.eclipse.nebula.widgets.nattable.export.excel.DefaultExportFormatter) ExcelExporter(org.eclipse.nebula.widgets.nattable.export.excel.ExcelExporter)

Aggregations

DefaultExportFormatter (org.eclipse.nebula.widgets.nattable.export.excel.DefaultExportFormatter)1 ExcelExporter (org.eclipse.nebula.widgets.nattable.export.excel.ExcelExporter)1