Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 12:29 Go to next message
Benedict Wright is currently offline Benedict WrightFriend
Messages: 10
Registered: February 2019
Junior Member
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 12:39 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
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 12:41 Go to previous messageGo to next message
Benedict Wright is currently offline Benedict WrightFriend
Messages: 10
Registered: February 2019
Junior Member
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 13:23 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
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 13:30 Go to previous message
Benedict Wright is currently offline Benedict WrightFriend
Messages: 10
Registered: February 2019
Junior Member
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 Apr 19 19:48:42 GMT 2024

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

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

Back to the top