Mercurial > projects > dwt-addons
comparison dwtx/jface/text/information/InformationPresenter.d @ 135:65801ad2b265
Regex fix for anon classes
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 01:52:31 +0200 |
parents | 51e6e63f930e |
children | b6bad70d540a |
comparison
equal
deleted
inserted
replaced
134:51e6e63f930e | 135:65801ad2b265 |
---|---|
198 /* | 198 /* |
199 * @see FocusListener#focusLost(FocusEvent) | 199 * @see FocusListener#focusLost(FocusEvent) |
200 */ | 200 */ |
201 public void focusLost(FocusEvent e) { | 201 public void focusLost(FocusEvent e) { |
202 Display d= fSubjectControl.getDisplay(); | 202 Display d= fSubjectControl.getDisplay(); |
203 d.asyncExec(new Runnable() { | 203 d.asyncExec(new class() Runnable { |
204 // Without the asyncExec, mouse clicks to the workbench window are swallowed. | 204 // Without the asyncExec, mouse clicks to the workbench window are swallowed. |
205 public void run() { | 205 public void run() { |
206 if (fInformationControlToClose is null || !fInformationControlToClose.isFocusControl()) | 206 if (fInformationControlToClose is null || !fInformationControlToClose.isFocusControl()) |
207 hideInformationControl(); | 207 hideInformationControl(); |
208 } | 208 } |