Skip to main content



      Home
Home » Eclipse Projects » NatTable » Export mechanism modifications
Export mechanism modifications [message #1109408] Sun, 15 September 2013 06:41 Go to next message
Eclipse UserFriend
Hi,

while inspecting several functions of NatTable in more detail to be able to write the documentation I noticed some issues regarding the export functionality in terms of consistency of configuration and functionality. Therefore I decided to modify the export stuff in order to add consistency.

The following changes will cause issues regarding backwards compatibility and will force users of NatTable to modify their code slightly:

I noticed that the configurations for Excel exports are split into several places. I decided to put them together to have one place for export configuration rather than checking several default configurations for custom modifications.

I created a new interface ExportConfigAttributes that now specifies all export related configuration attributes and moved the existing configuration attributes there. These are

ILayerExporter.CONFIG_ATTRIBUTE -> ExportConfigAttributes.EXPORTER
CellConfigAttributesEXPORT_FORMATTER -> ExportConfigAttributes.EXPORT_FORMATTER

I also moved the default configuration for the export formatter from DefaultNatTableStyleConfiguration to DefaultExportBindings as the configuration is export specific and does only work in combination with the configurations made in the DefaultExportBindings.

Also I did modifications and improvements mentioned in the following Bugzilla tickets:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=417221
https://bugs.eclipse.org/bugs/show_bug.cgi?id=417183
https://bugs.eclipse.org/bugs/show_bug.cgi?id=417078
https://bugs.eclipse.org/bugs/show_bug.cgi?id=417279

The changes are included in the latest development SNAPSHOTS and will be part of the next NatTable release.

As these are some minor API changes that improve the consistency of NatTable configuration, I hope you don't suffer too much from that changes.

Greez,
Dirk
Re: Export mechanism modifications [message #1114800 is a reply to message #1109408] Mon, 23 September 2013 04:14 Go to previous message
Eclipse UserFriend
There are two more enhancements that will be added:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=417781
https://bugs.eclipse.org/bugs/show_bug.cgi?id=417787
Previous Topic:Right click mouse binding
Next Topic:checkbox problem
Goto Forum:
  


Current Time: Mon Jul 07 00:20:55 EDT 2025

Powered by FUDForum. Page generated in 0.02622 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top