Difference: DpHipePreferences (20 vs. 21)

Revision 212010-08-30 - JaimeSaiz

Line: 1 to 1
 
META TOPICPARENT name="DpHipe"

HIPE Preferences

Line: 331 to 331
  The user would expect that these changes would be applied to the opened editor, not only to editors opened from that moment on.
Changed:
<
<
To solve this situation, your editor should listen to preference changes by implementing PreferenceListener and registering with UserPreferences.addListener.

Warning, important Note: The PreferenceListener is called in a non-GUI thread. If you need to call some GUI code in your listener, put your code into a Runnable and use one of the following methods:

  • SwingUtilities.invokeAndWait(Runnable r)
  • SwingUtilities.invokeLater(Runnable r)
  • SiteUtil.execAndWait(Runnable r)
  • SiteUtil.execLater(Runnable r)
>
>
To solve this situation, your editor should listen to preference changes by implementing PreferenceListener and registering with UserPreferences.addListener.
 

Link to properties

 
This site is powered by the TWiki collaboration platform Powered by Perl