diff dwtx/ui/internal/forms/widgets/BusyIndicator.d @ 90:7ffeace6c47f

Update 3.4M7 to 3.4
author Frank Benoit <benoit@tionex.de>
date Sun, 06 Jul 2008 23:30:07 +0200
parents 26c6c9dfd13c
children 862b05e0334a
line wrap: on
line diff
--- a/dwtx/ui/internal/forms/widgets/BusyIndicator.d	Sun Jun 22 22:57:31 2008 +0200
+++ b/dwtx/ui/internal/forms/widgets/BusyIndicator.d	Sun Jul 06 23:30:07 2008 +0200
@@ -26,6 +26,9 @@
 import dwt.widgets.Canvas;
 import dwt.widgets.Composite;
 import dwt.widgets.Display;
+// import dwtx.core.runtime.FileLocator;
+// import dwtx.core.runtime.Path;
+// import dwtx.core.runtime.Platform;
 import dwtx.jface.resource.ImageDescriptor;
 
 import dwt.dwthelper.utils;
@@ -297,16 +300,15 @@
 
 
     private ImageDescriptor createImageDescriptor(String relativePath) {
-        //DWT_TODO
-//      Bundle bundle = Platform.getBundle("dwtx.ui.forms"); //$NON-NLS-1$
-//      URL url = FileLocator.find(bundle, new Path(relativePath),null);
-//      if (url is null) return null;
-//      try {
-//          url = FileLocator.resolve(url);
-//          return ImageDescriptor.createFromURL(url);
-//      } catch (IOException e) {
-//          return null;
-//      }
+//         Bundle bundle = Platform.getBundle("dwtx.ui.forms"); //$NON-NLS-1$
+//         URL url = FileLocator.find(bundle, new Path(relativePath),null);
+//         if (url is null) return null;
+//         try {
+//             url = FileLocator.resolve(url);
+//             return ImageDescriptor.createFromURL(url);
+//         } catch (IOException e) {
+//             return null;
+//         }
         return null;
     }