Mercurial > projects > dwt-addons
comparison dwtx/jface/text/contentassist/PopupCloser.d @ 158:25f1f92fa3df
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 26 Aug 2008 02:46:34 +0200 |
parents | 26688fec6d23 |
children | 1a5b8f8129df |
comparison
equal
deleted
inserted
replaced
157:7f75eaa8103a | 158:25f1f92fa3df |
---|---|
188 } | 188 } |
189 | 189 |
190 /* | 190 /* |
191 * @see dwt.events.FocusListener#focusLost(dwt.events.FocusEvent) | 191 * @see dwt.events.FocusListener#focusLost(dwt.events.FocusEvent) |
192 */ | 192 */ |
193 public void focusLost(final FocusEvent e) { | 193 public void focusLost(FocusEvent e) { |
194 fScrollbarClicked= false; | 194 fScrollbarClicked= false; |
195 Display d= fTable.getDisplay(); | 195 Display d= fTable.getDisplay(); |
196 d.asyncExec(new class() Runnable { | 196 d.asyncExec(dgRunnable((FocusEvent e_) { |
197 public void run() { | 197 if (Helper.okToUse(fTable) && !fTable.isFocusControl() && !fScrollbarClicked && fContentAssistant !is null) |
198 if (Helper.okToUse(fTable) && !fTable.isFocusControl() && !fScrollbarClicked && fContentAssistant !is null) | 198 fContentAssistant.popupFocusLost(e_); |
199 fContentAssistant.popupFocusLost(e); | 199 }, e )); |
200 } | |
201 }); | |
202 } | 200 } |
203 | 201 |
204 /* | 202 /* |
205 * @see dwt.events.ShellAdapter#shellDeactivated(dwt.events.ShellEvent) | 203 * @see dwt.events.ShellAdapter#shellDeactivated(dwt.events.ShellEvent) |
206 * @since 3.1 | 204 * @since 3.1 |