Mercurial > projects > dwt-addons
changeset 183:c36336245fb1
Fix anon class problem
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 18 Oct 2008 15:01:42 +0200 |
parents | 46b175eeced4 |
children | 26589d623405 |
files | dwtx/jface/wizard/WizardDialog.d |
diffstat | 1 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/dwtx/jface/wizard/WizardDialog.d Sat Oct 18 15:01:10 2008 +0200 +++ b/dwtx/jface/wizard/WizardDialog.d Sat Oct 18 15:01:42 2008 +0200 @@ -1139,12 +1139,9 @@ if (getContents() is null) { updateForPage(page); } else { - final IWizardPage finalPage = page; - BusyIndicator.showWhile(getContents().getDisplay(), new class Runnable { - public void run() { - updateForPage(finalPage); - } - }); + BusyIndicator.showWhile(getContents().getDisplay(), dgRunnable( (IWizardPage finalPage) { + updateForPage(finalPage); + }, page )); } }