Skip to main content



      Home
Home » Eclipse Projects » NatTable » Nattable refresh problem(Nattable refresh problem)
Nattable refresh problem [message #1241386] Fri, 07 February 2014 17:28 Go to next message
Eclipse UserFriend
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 17:42 Go to previous messageGo to next message
Eclipse UserFriend
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 04:33 Go to previous message
Eclipse UserFriend
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: Sun Nov 09 06:02:51 EST 2025

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

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

Back to the top