Mercurial > projects > dwt-addons
comparison dwtx/jface/text/PropagatingFontFieldEditor.d @ 134:51e6e63f930e
Regex fix for casts
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 01:46:20 +0200 |
parents | 7d818bd32d63 |
children | 65801ad2b265 |
comparison
equal
deleted
inserted
replaced
133:7d818bd32d63 | 134:51e6e63f930e |
---|---|
229 */ | 229 */ |
230 private void checkForDefault() { | 230 private void checkForDefault() { |
231 if (presentsDefaultValue()) { | 231 if (presentsDefaultValue()) { |
232 Control c= getValueControl(fParent); | 232 Control c= getValueControl(fParent); |
233 if (c instanceof Label) | 233 if (c instanceof Label) |
234 ((Label) c).setText(fDefaultFontLabel); | 234 (cast(Label) c).setText(fDefaultFontLabel); |
235 } | 235 } |
236 } | 236 } |
237 | 237 |
238 /** | 238 /** |
239 * Propagates the font set in the source store to the | 239 * Propagates the font set in the source store to the |