|
Re: Getting session from any thread [message #123458 is a reply to message #123338] |
Mon, 02 March 2009 08:28  |
Eclipse User |
|
|
|
Enrico,
you need to explicitly "connect" code that is run within an
arbitrary non-UI-thread to a display/session. Use
UICallBack#runNonUIThreadWithFakeContext() therefore.
For further details please search this newsgroup and/or look at
these items:
* 250696: Display.getDefault() causes NPE in single-sourced
code
https://bugs.eclipse.org/bugs/show_bug.cgi?id=250696
* news thread "How to get onto GUI Event Thread from non UI
thread..."
HTH
Rüdiger
Enrico Zanaga wrote:
> Hi,
>
> is it possible to get the session from any given thread?
> RWT.getSessionStore() works only for the current thread.
>
> Thanks
> Enrico
|
|
|
Powered by
FUDForum. Page generated in 0.57763 seconds