Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Synchronize views separator
Synchronize views separator [message #463060] Mon, 05 February 2007 13:30 Go to next message
Eclipse UserFriend
Hi,

I guess I already know the answer but I thought I'd double check. I have
2 different perspectives who both show on the left side the same View.
What I now want is that if I change in one perspective the space the
view occupies that this change is automatically propagated the other
perspective (or recalculated when the other perspective opens).

So my question is: Is there a possibility to track when the users drags
the seperator between views and update the seperator in an other
perspective. I guess the answer is no but I thought I could ask. Any
other ideas welcome of course.

Tom
Re: Synchronize views separator [message #463064 is a reply to message #463060] Mon, 05 February 2007 15:48 Go to previous message
Eclipse UserFriend
Tom,

provided that you have access to the view control passed in
createPartControl(), you could listen on that view size change, and
update your perspectives. There is no other way to track resize changes.

Anyway, what happens if user moves the view in one perspective to other
part of the window? Should the second perspective follow?

Jacek

Tom Schindl napisał(a):
> Hi,
>
> I guess I already know the answer but I thought I'd double check. I have
> 2 different perspectives who both show on the left side the same View.
> What I now want is that if I change in one perspective the space the
> view occupies that this change is automatically propagated the other
> perspective (or recalculated when the other perspective opens).
>
> So my question is: Is there a possibility to track when the users drags
> the seperator between views and update the seperator in an other
> perspective. I guess the answer is no but I thought I could ask. Any
> other ideas welcome of course.
>
> Tom
Previous Topic:Focus lost between Editor and Shell
Next Topic:Registering my own custom IProgressMonitor
Goto Forum:
  


Current Time: Tue Jul 15 13:01:19 EDT 2025

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

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

Back to the top