Mercurial > projects > dwt-addons
comparison dwtx/jface/action/ActionContributionItem.d @ 39:644f1334b451
fix anon classes
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 08 Apr 2008 22:05:42 +0200 |
parents | e0f0aaf75edd |
children | ea8ff534f622 |
comparison
equal
deleted
inserted
replaced
38:c884a1ab6db3 | 39:644f1334b451 |
---|---|
178 if (isVisible() && widget !is null) { | 178 if (isVisible() && widget !is null) { |
179 Display display = widget.getDisplay(); | 179 Display display = widget.getDisplay(); |
180 if (display.getThread() is Thread.getThis()) { | 180 if (display.getThread() is Thread.getThis()) { |
181 update(e.getProperty()); | 181 update(e.getProperty()); |
182 } else { | 182 } else { |
183 display.asyncExec(new class Runnable { | 183 display.asyncExec(new class(e) Runnable { |
184 PropertyChangeEvent e_; | 184 PropertyChangeEvent e_; |
185 this(){ | 185 this(PropertyChangeEvent e__){ |
186 e_=e; | 186 e_=e__; |
187 } | 187 } |
188 public void run() { | 188 public void run() { |
189 update(e_.getProperty()); | 189 update(e_.getProperty()); |
190 } | 190 } |
191 }); | 191 }); |