Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Modifications to tree rendering
Modifications to tree rendering [message #1272639] Tue, 18 March 2014 11:40
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
Hi,

I'm currently taking the last steps to finish NatTable 1.1. On implementing theme styling I came across several issues regarding painters, making it hard to replace them easily without knowing several internal model informations, e.g. ITreeRowModel for the tree rendering or ColumnGroupModel for the column group rendering.

I changed the implementations to use the same label based mechanism than the SortHeaderTextPainter is using. So now the references to the internal model instances are not needed anymore.

I also checked backwards compatibility, and for the default implementations everything looks fine.

Only if you tried to override internal methods (e.g. TreeLayer.getCellPainter()) to get a more custom styling, the result might not be the same as before. Although it should not break anything.

Check
https://bugs.eclipse.org/bugs/show_bug.cgi?id=430519
https://bugs.eclipse.org/bugs/show_bug.cgi?id=428875

For some of the painter changes.

Greez,
Dirk
Previous Topic:Fix for Possible null pointer access
Next Topic:Handling very large data with Nattable
Goto Forum:
  


Current Time: Tue Apr 23 12:09:48 GMT 2024

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

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

Back to the top