Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Export mechanism modifications
Export mechanism modifications [message #1109408] Sun, 15 September 2013 06:41 Go to next message
Dirk Fauth is currently offline Dirk Fauth
Messages: 789
Registered: July 2012
Senior Member
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
Dirk Fauth is currently offline Dirk Fauth
Messages: 789
Registered: July 2012
Senior Member
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:Problem with new dropdown when I click on something else
Next Topic:Using Eclipse Spell Checker in Nattable
Goto Forum:
  


Current Time: Mon Oct 07 21:07:51 EDT 2013

Powered by FUDForum. Page generated in 0.08879 seconds