Mercurial > projects > dwt-addons
comparison dwtx/jface/text/contentassist/ContentAssistant.d @ 167:862b05e0334a
Add a wrapper for Thread
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 09 Sep 2008 15:59:16 +0200 |
parents | 1a5b8f8129df |
children | cef27f663573 |
comparison
equal
deleted
inserted
replaced
163:e5dd0081ccba | 167:862b05e0334a |
---|---|
46 import dwtx.jface.text.contentassist.IContentAssistantExtension; // packageimport | 46 import dwtx.jface.text.contentassist.IContentAssistantExtension; // packageimport |
47 import dwtx.jface.text.contentassist.JFaceTextMessages; // packageimport | 47 import dwtx.jface.text.contentassist.JFaceTextMessages; // packageimport |
48 | 48 |
49 import dwt.dwthelper.utils; | 49 import dwt.dwthelper.utils; |
50 import dwtx.dwtxhelper.Collection; | 50 import dwtx.dwtxhelper.Collection; |
51 import tango.core.Thread; | 51 import dwtx.dwtxhelper.JThread; |
52 | 52 |
53 import dwt.DWT; | 53 import dwt.DWT; |
54 import dwt.DWTError; | 54 import dwt.DWTError; |
55 import dwt.custom.VerifyKeyListener; | 55 import dwt.custom.VerifyKeyListener; |
56 import dwt.events.ControlEvent; | 56 import dwt.events.ControlEvent; |
274 * | 274 * |
275 * @since 3.4 protected, was added in 2.1 as private class | 275 * @since 3.4 protected, was added in 2.1 as private class |
276 */ | 276 */ |
277 protected class AutoAssistListener : KeyAdapter , KeyListener, Runnable, VerifyKeyListener { | 277 protected class AutoAssistListener : KeyAdapter , KeyListener, Runnable, VerifyKeyListener { |
278 | 278 |
279 private Thread fThread; | 279 private JThread fThread; |
280 private bool fIsReset= false; | 280 private bool fIsReset= false; |
281 private Object fMutex= new Object(); | 281 private Object fMutex= new Object(); |
282 private int fShowStyle; | 282 private int fShowStyle; |
283 | 283 |
284 private const static int SHOW_PROPOSALS= 1; | 284 private const static int SHOW_PROPOSALS= 1; |