Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Selection style on focus gain/loss
Selection style on focus gain/loss [message #1722176] Wed, 03 February 2016 09:09 Go to next message
Jacek Wicka is currently offline Jacek WickaFriend
Messages: 4
Registered: June 2014
Junior Member
Is it possible to change the selection style (i.g. colors) when NT gains and loses focus to achieve more native L&F on Windows.
Re: Selection style on focus gain/loss [message #1722238 is a reply to message #1722176] Wed, 03 February 2016 15:08 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
You can modify the config attributes registered in the ConfigRegistry at runtime. So you could register a FocusListener that changes the selection style on focus changes. Something similar is shown in the examples for a selection provider.
Previous Topic:Getting columnPosition from NatEventData
Next Topic:Selection style on focus gain/loss
Goto Forum:
  


Current Time: Sat Apr 27 03:18:55 GMT 2024

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

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

Back to the top