Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Detached view and perspective change
Detached view and perspective change [message #535671] Tue, 25 May 2010 08:28 Go to next message
Eclipse User
Originally posted by: fabian.necci.gmail.com

Hi all,
I have to handle a situation in my rcp app where I have some detached
views opened and they have to stay opened after a perspective change.

By now I save the detached views before the perspective change and add
them to the new perspective after the change. This works, but the visual
effect is not so good because I see the views closing and opening again.
So I'm looking for a way to mantain the detached views opened in a
perspective change in a way that the user does not notice any window
flickering.

Does anybody have an idea on how to do this?

Thanks,
Fabian
Re: Detached view and perspective change [message #535957 is a reply to message #535671] Wed, 26 May 2010 13:26 Go to previous messageGo to next message
T. Wilhelm is currently offline T. Wilhelm
Messages: 129
Registered: July 2009
Senior Member
Maybe the "sticky views" works for you, in case that this views are available in all perspectives ?!?

Did you tried that yet?
Re: Detached view and perspective change [message #536016 is a reply to message #535957] Wed, 26 May 2010 16:04 Go to previous messageGo to next message
Eclipse User
Originally posted by: fabian.necci.gmail.com

Actually I've thought of using sticky views, but my view should not live
across all perspectives, just across 2 perspectives. And AFAIK a sticky
view is shared across perspectives, but the position of the view is not:
if I detach the view in a perspective, the view is not detached in all
perspectives. Please tell me if I'm wrong with this point.
Re: Detached view and perspective change [message #556335 is a reply to message #536016] Tue, 31 August 2010 20:34 Go to previous message
colm caffrey is currently offline colm caffrey
Messages: 1
Registered: July 2009
Junior Member
In original question you mentioned:

Quote:
By now I save the detached views before the perspective change and add
them to the new perspective after the change.


Can you give some info on how you're doing this? I have the same requirement & would like to try do something similar in my application. Or have you found another solution in the meantime
Previous Topic:Listening problem: treeview as service provider and three listener views in the same folder layout
Next Topic:RCP Diagram menu modify
Goto Forum:
  


Current Time: Sat Sep 20 04:10:53 GMT 2014

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

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