diff dwtx/jface/viewers/TextCellEditor.d @ 70:46a6e0e6ccd4

Merge with d-fied sources of 3.4M7
author Frank Benoit <benoit@tionex.de>
date Thu, 22 May 2008 01:36:46 +0200
parents ea8ff534f622
children 7ffeace6c47f
line wrap: on
line diff
--- a/dwtx/jface/viewers/TextCellEditor.d	Mon May 19 13:41:06 2008 +0200
+++ b/dwtx/jface/viewers/TextCellEditor.d	Thu May 22 01:36:46 2008 +0200
@@ -479,7 +479,16 @@
         checkDeleteable();
     }
 
-    override bool dependsOnExternalFocusListener() {
+    /**
+     * This implementation of
+     * {@link CellEditor#dependsOnExternalFocusListener()} returns false if the
+     * current instance's class is TextCellEditor, and true otherwise.
+     * Subclasses that hook their own focus listener should override this method
+     * and return false. See also bug 58777.
+     * 
+     * @since 3.4
+     */
+    protected override bool dependsOnExternalFocusListener() {
         return this.classinfo !is TextCellEditor.classinfo;
     }
 }