diff dwtx/jface/internal/text/StickyHoverManager.d @ 140:26688fec6d23

Following dsss compile errors
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 03:23:46 +0200
parents b6bad70d540a
children 53b889547456
line wrap: on
line diff
--- a/dwtx/jface/internal/text/StickyHoverManager.d	Sun Aug 24 02:31:41 2008 +0200
+++ b/dwtx/jface/internal/text/StickyHoverManager.d	Sun Aug 24 03:23:46 2008 +0200
@@ -230,7 +230,7 @@
          * @see dwt.events.FocusListener#focusLost(dwt.events.FocusEvent)
          */
         public void focusLost(FocusEvent e) {
-            if cast(DEBUG) System.out.println("StickyHoverManager.Closer.focusLost(): " + e); //$NON-NLS-1$
+            if cast(DEBUG) System.out_.println("StickyHoverManager.Closer.focusLost(): " + e); //$NON-NLS-1$
             Display d= fSubjectControl.getDisplay();
             d.asyncExec(new class()  Runnable {
                 // Without the asyncExec, mouse clicks to the workbench window are swallowed.
@@ -250,7 +250,7 @@
                 
                 IInformationControl infoControl= getCurrentInformationControl2();
                 if (infoControl !is null && !infoControl.isFocusControl() && infoControl instanceof IInformationControlExtension3) {
-//                  if cast(DEBUG) System.out.println("StickyHoverManager.Closer.handleEvent(): activeShell= " + fDisplay.getActiveShell()); //$NON-NLS-1$
+//                  if cast(DEBUG) System.out_.println("StickyHoverManager.Closer.handleEvent(): activeShell= " + fDisplay.getActiveShell()); //$NON-NLS-1$
                     IInformationControlExtension3 iControl3= cast(IInformationControlExtension3) infoControl;
                     Rectangle controlBounds= iControl3.getBounds();
                     if (controlBounds !is null) {
@@ -272,7 +272,7 @@
                 }
                 
             } else if (event.type is DWT.FocusOut) {
-                if cast(DEBUG) System.out.println("StickyHoverManager.Closer.handleEvent(): focusOut: " + event); //$NON-NLS-1$
+                if cast(DEBUG) System.out_.println("StickyHoverManager.Closer.handleEvent(): focusOut: " + event); //$NON-NLS-1$
                 IInformationControl iControl= getCurrentInformationControl2();
                 if (iControl !is null && ! iControl.isFocusControl())
                     hideInformationControl();
@@ -306,7 +306,7 @@
             super.showInformationControl(subjectArea);
         else
             if cast(DEBUG)
-                System.out.println("cancelled StickyHoverManager.showInformationControl(..): did not get widget token (with prio)"); //$NON-NLS-1$
+                System.out_.println("cancelled StickyHoverManager.showInformationControl(..): did not get widget token (with prio)"); //$NON-NLS-1$
     }
 
     /*
@@ -339,7 +339,7 @@
     public bool requestWidgetToken(IWidgetTokenOwner owner) {
         hideInformationControl();
         if cast(DEBUG)
-            System.out.println("StickyHoverManager gave up widget token (no prio)"); //$NON-NLS-1$
+            System.out_.println("StickyHoverManager gave up widget token (no prio)"); //$NON-NLS-1$
         return true;
     }
 
@@ -350,21 +350,21 @@
         if (getCurrentInformationControl2() !is null) {
             if (getCurrentInformationControl2().isFocusControl()) {
                 if cast(DEBUG)
-                    System.out.println("StickyHoverManager kept widget token (focused)"); //$NON-NLS-1$
+                    System.out_.println("StickyHoverManager kept widget token (focused)"); //$NON-NLS-1$
                 return false;
             } else if (priority > WIDGET_PRIORITY) {
                 hideInformationControl();
                 if cast(DEBUG)
-                    System.out.println("StickyHoverManager gave up widget token (prio)"); //$NON-NLS-1$
+                    System.out_.println("StickyHoverManager gave up widget token (prio)"); //$NON-NLS-1$
                 return true;
             } else {
                 if cast(DEBUG)
-                    System.out.println("StickyHoverManager kept widget token (prio)"); //$NON-NLS-1$
+                    System.out_.println("StickyHoverManager kept widget token (prio)"); //$NON-NLS-1$
                 return false;
             }
         }
         if cast(DEBUG)
-            System.out.println("StickyHoverManager gave up widget token (no iControl)"); //$NON-NLS-1$
+            System.out_.println("StickyHoverManager gave up widget token (no iControl)"); //$NON-NLS-1$
         return true;
     }