Mercurial > projects > dwt-addons
comparison dwtx/jface/text/PropagatingFontFieldEditor.d @ 135:65801ad2b265
Regex fix for anon classes
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 01:52:31 +0200 |
parents | 51e6e63f930e |
children | b6bad70d540a |
comparison
equal
deleted
inserted
replaced
134:51e6e63f930e | 135:65801ad2b265 |
---|---|
265 * @param sourceKey the key to be used in the source preference store | 265 * @param sourceKey the key to be used in the source preference store |
266 * @param target the target preference store | 266 * @param target the target preference store |
267 * @param targetKey the key to be used in the target preference store | 267 * @param targetKey the key to be used in the target preference store |
268 */ | 268 */ |
269 public static void startPropagate(final IPreferenceStore source, final String sourceKey, final IPreferenceStore target, final String targetKey) { | 269 public static void startPropagate(final IPreferenceStore source, final String sourceKey, final IPreferenceStore target, final String targetKey) { |
270 source.addPropertyChangeListener(new IPropertyChangeListener() { | 270 source.addPropertyChangeListener(new class() IPropertyChangeListener { |
271 public void propertyChange(PropertyChangeEvent event) { | 271 public void propertyChange(PropertyChangeEvent event) { |
272 if (sourceKey.equals(event.getProperty())) | 272 if (sourceKey.equals(event.getProperty())) |
273 propagateFont(source, sourceKey, target, targetKey); | 273 propagateFont(source, sourceKey, target, targetKey); |
274 } | 274 } |
275 }); | 275 }); |