Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Window.defaultImages should to be in session scope
Window.defaultImages should to be in session scope [message #553844] Thu, 19 August 2010 07:38 Go to next message
Yury Mising name is currently offline Yury Mising nameFriend
Messages: 95
Registered: May 2010
Location: Russia
Member
Hi!

Subj. Now Window.defaultImages is a static filed and images is shared between users. The case than a user close the workbench and another user start another session we can get the following situation:
2 user start new session and initialize images by Workbench.initializeImages();
1 user close Workbench and set null defaultImages in Workbench.uninitializeImages();
2 user open the workbench window and configure the shell in Window.configureShell(Shell newShell) and get there null images array!


Therefore, I suppose to put the Window.defaultImages in session scope as it is done for WorkbenchImages.

Best regards,
Yury.
Re: Window.defaultImages should to be in session scope [message #553863 is a reply to message #553844] Thu, 19 August 2010 08:42 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2289
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Yury,

sounds reasonable for me. Could you please open an enhancement request
about it. It will be perfect if you could provide a patch too.

Best,
Ivan

On 08/19/2010 10:38 AM, Yury wrote:
> Hi!
>
> Subj. Now Window.defaultImages is a static filed and images is shared
> between users. The case than a user close the workbench and another
> user start another session we can get the following situation:
> 2 user start new session and initialize images by
> Workbench.initializeImages();
> 1 user close Workbench and set null defaultImages in
> Workbench.uninitializeImages();
> 2 user open the workbench window and configure the shell in
> Window.configureShell(Shell newShell) and get there null images array!
>
>
> Therefore, I suppose to put the Window.defaultImages in session scope
> as it is done for WorkbenchImages.
>
> Best regards,
> Yury.
Re: Window.defaultImages should to be in session scope [message #553889 is a reply to message #553844] Thu, 19 August 2010 10:38 Go to previous message
Yury Mising name is currently offline Yury Mising nameFriend
Messages: 95
Registered: May 2010
Location: Russia
Member
Hi, Ivan.

I've created a https://bugs.eclipse.org/bugs/show_bug.cgi?id=323121.

Best regards,
Yury.
Previous Topic:Build RAP with Virgo
Next Topic:Howto access backend services from RAP application?
Goto Forum:
  


Current Time: Sat Nov 17 15:50:22 GMT 2018

Powered by FUDForum. Page generated in 0.02432 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top