Skip to main content



      Home
Home » Eclipse Projects » NatTable » Ad a overlay such as a "glaspane" over the whole table
Ad a overlay such as a "glaspane" over the whole table [message #1806462] Thu, 09 May 2019 08:29 Go to next message
Eclipse UserFriend
Is it possible to ad a overlay such as a"glaspane", which dims and blurs the table content, and displays a widget (such as for displaying a loading state) using the ViewPortLayer mechanism? and if so how woul dI go about implementing something like this?
Re: Ad a overlay such as a "glaspane" over the whole table [message #1806464 is a reply to message #1806462] Thu, 09 May 2019 08:39 Go to previous messageGo to next message
Eclipse UserFriend
Not sure what you mean with "ViewportLayer mechanism". But regarding overlays, yes we have the IOverlayPainters that you could use. You can implement and register an IOverlayPainter via NatTable#addOverlayPainter(IOverlayPainter). It gets the GC and an ILayer (which is typically the NatTable instance itself) so you can render what ever you like on top of a NatTable.
Re: Ad a overlay such as a "glaspane" over the whole table [message #1806465 is a reply to message #1806464] Thu, 09 May 2019 08:41 Go to previous messageGo to next message
Eclipse UserFriend
That sounds like the thing i need to do. Thanks.
I was referring to the ViewPortLayer from this image https://www.eclipse.org/nattable/images/NatTable_Architecture.png
Re: Ad a overlay such as a "glaspane" over the whole table [message #1806468 is a reply to message #1806465] Thu, 09 May 2019 09:23 Go to previous messageGo to next message
Eclipse UserFriend
sure, but it has nothing to do with the overlay and I did not get the point why it should be related. :)
Re: Ad a overlay such as a "glaspane" over the whole table [message #1806469 is a reply to message #1806468] Thu, 09 May 2019 09:30 Go to previous message
Eclipse UserFriend
wild guess :-)
Previous Topic:Date cell editor - set null
Next Topic:Vertical scrollbar shifts to the top after user clicks on cell at the bottom
Goto Forum:
  


Current Time: Fri May 16 12:30:18 EDT 2025

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

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

Back to the top