Skip to main content



      Home
Home » Eclipse Projects » NatTable » Modifications to tree rendering
Modifications to tree rendering [message #1272639] Tue, 18 March 2014 07:40
Eclipse UserFriend
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: Sun Nov 09 09:29:03 EST 2025

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

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

Back to the top