Skip to main content

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 10:41 Go to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2814
Registered: July 2012
Senior Member

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:

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.

Re: Export mechanism modifications [message #1114800 is a reply to message #1109408] Mon, 23 September 2013 08:14 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2814
Registered: July 2012
Senior Member
There are two more enhancements that will be added:
Previous Topic:Right click mouse binding
Next Topic:checkbox problem
Goto Forum:

Current Time: Wed Jul 28 21:41:21 GMT 2021

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

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

Back to the top