Lines 151-166
Link Here
|
151 |
// Force the event loop to return from sleep () so that |
151 |
// Force the event loop to return from sleep () so that |
152 |
// it stops event dispatching. |
152 |
// it stops event dispatching. |
153 |
display.asyncExec(null); |
153 |
display.asyncExec(null); |
154 |
|
|
|
155 |
// RAP [fappel]: deactivate UI-Callback for this thread |
156 |
UICallBack.runNonUIThreadWithFakeContext( display, new Runnable() { |
157 |
public void run() { |
158 |
String key |
159 |
= String.valueOf( ModalContextThread.this.hashCode() ); |
160 |
UICallBack.deactivate( key ); |
161 |
} |
162 |
} ); |
163 |
|
164 |
} |
154 |
} |
165 |
} |
155 |
} |
166 |
|
156 |
|
Lines 402-407
Link Here
|
402 |
throw new InvocationTargetException(throwable); |
392 |
throw new InvocationTargetException(throwable); |
403 |
} |
393 |
} |
404 |
} |
394 |
} |
|
|
395 |
|
396 |
// RAP [fappel]: deactivate UI-Callback for this thread |
397 |
String key = String.valueOf( t.hashCode() ); |
398 |
UICallBack.deactivate( key ); |
405 |
} |
399 |
} |
406 |
} |
400 |
} |
407 |
} finally { |
401 |
} finally { |