comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/accessibility/Accessible.d @ 19:52184e4b815c

no more direct tango.core.Thread. Rename JThread to java.lang.Thread.
author Frank Benoit <benoit@tionex.de>
date Wed, 18 Mar 2009 10:55:25 +0100
parents 43904fec5dca
children b98647bc0aef
comparison
equal deleted inserted replaced
18:735224fcc45f 19:52184e4b815c
36 import org.eclipse.swt.accessibility.AccessibleControlEvent; 36 import org.eclipse.swt.accessibility.AccessibleControlEvent;
37 import org.eclipse.swt.accessibility.AccessibleEvent; 37 import org.eclipse.swt.accessibility.AccessibleEvent;
38 38
39 import java.lang.all; 39 import java.lang.all;
40 import java.util.Vector; 40 import java.util.Vector;
41 import tango.core.Thread; 41 import java.lang.Thread;
42 42
43 /** 43 /**
44 * Instances of this class provide a bridge between application 44 * Instances of this class provide a bridge between application
45 * code and assistive technology clients. Many platforms provide 45 * code and assistive technology clients. Many platforms provide
46 * default accessible behavior for most widgets, and this class 46 * default accessible behavior for most widgets, and this class
1391 if (control.isDisposed ()) SWT.error (SWT.ERROR_WIDGET_DISPOSED); 1391 if (control.isDisposed ()) SWT.error (SWT.ERROR_WIDGET_DISPOSED);
1392 } 1392 }
1393 1393
1394 /* isValidThread was copied from Widget, and rewritten to work in this package */ 1394 /* isValidThread was copied from Widget, and rewritten to work in this package */
1395 WINBOOL isValidThread () { 1395 WINBOOL isValidThread () {
1396 return control.getDisplay ().getThread () is Thread.getThis (); 1396 return control.getDisplay ().getThread () is Thread.currentThread ();
1397 } 1397 }
1398 } 1398 }
1399 1399
1400 class _IAccessibleImpl : IAccessible { 1400 class _IAccessibleImpl : IAccessible {
1401 1401