Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Nattable refresh problem(Nattable refresh problem)
Nattable refresh problem [message #1241386] Fri, 07 February 2014 22:28 Go to next message
Arjan Kok is currently offline Arjan KokFriend
Messages: 40
Registered: July 2009
Member
Hi,

I'm using the JFace Preferences for TextFont and HeaderFont to make the Nattable fonts for cells and headers customizable.

This works fine, however the Nattable has to restarted. To prevent this, I have attached a PropertyChangeListener to the Preference store, so that changes to TextFont and HeaderFont are reported.

Now, the Nattable has to refresh itself when such a change occurs. But calling refresh on the Nattable has not the desired effect. What should I do to make this work?

Kind Regards,

Arjan.
Re: Nattable refresh problem [message #1241395 is a reply to message #1241386] Fri, 07 February 2014 22:42 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
You need to update the configuration setting. If you are not updating the ConfigRegistry on changes, nothing will happen. Take a look at the new theme configurations added to the current development state. Maybe they give you a hint on what is missing.
Re: Nattable refresh problem [message #1244404 is a reply to message #1241395] Wed, 12 February 2014 09:33 Go to previous message
Arjan Kok is currently offline Arjan KokFriend
Messages: 40
Registered: July 2009
Member
Thanks for pointing me in the right direction. The ThemeConfiguration does its job nicely.
Previous Topic:Issue with Tree grid
Next Topic:Which line is currently visible?
Goto Forum:
  


Current Time: Thu Apr 25 16:55:00 GMT 2024

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

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

Back to the top