diff dwtx/jface/operation/ModalContext.d @ 56:ef6c06252a87

fix anon classes
author Frank Benoit <benoit@tionex.de>
date Sun, 13 Apr 2008 16:37:43 +0200
parents ea8ff534f622
children 84ce9636d109
line wrap: on
line diff
--- a/dwtx/jface/operation/ModalContext.d	Sun Apr 13 16:37:23 2008 +0200
+++ b/dwtx/jface/operation/ModalContext.d	Sun Apr 13 16:37:43 2008 +0200
@@ -105,7 +105,7 @@
          */
         private this(IRunnableWithProgress operation,
                 IProgressMonitor monitor, Display display) {
-            super(/+"ModalContext"+/); //$NON-NLS-1$
+            super(&run2); //$NON-NLS-1$
             Assert.isTrue(monitor !is null && display !is null);
             runnable = operation;
             progressMonitor = new AccumulatingProgressMonitor(monitor, display);
@@ -116,7 +116,7 @@
         /* (non-Javadoc)
          * Method declared on Thread.
          */
-        public /+override+/ void run() {
+        public /+override+/ void run2() {
             try {
                 if (runnable !is null) {
                     runnable.run(progressMonitor);