Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » 1 Fixed view in perspective?
1 Fixed view in perspective? [message #449260] Thu, 11 May 2006 09:46 Go to next message
Eclipse UserFriend
Is there a way that I can have 1 fixed view but have the others *not* fixed?

I'd like to dock a view on the bottom of the screen that is *always* visible and cannot be moved. i'd then like the user to be able to move around/rearrange the other views available in the perspective anyway they want. How can I do this?
Re: 1 Fixed view in perspective? [message #449265 is a reply to message #449260] Thu, 11 May 2006 10:14 Go to previous messageGo to next message
Eclipse UserFriend
scott brown wrote:
> Is there a way that I can have 1 fixed view but have the others *not* fixed?
>
> I'd like to dock a view on the bottom of the screen that is *always* visible and cannot be moved. i'd then like the user to be able to move around/rearrange the other views available in the perspective anyway they want. How can I do this?

You can use IPageLayout#getViewLayout(*) to get the IViewLayout for a
view in the layout, and then update if it's closeable or moveable.

Later,
PW
Re: 1 Fixed view in perspective? [message #449368 is a reply to message #449265] Thu, 11 May 2006 10:34 Go to previous messageGo to next message
Eclipse UserFriend
>
> You can use IPageLayout#getViewLayout(*) to get the
> IViewLayout for a
> view in the layout, and then update if it's closeable
> or moveable.
>
> Later,
> PW

That worked, thanks. Is there a way I can not show the title for this one view, tooo? Or is that really only for standalone views?

Scott
Re: 1 Fixed view in perspective? [message #449380 is a reply to message #449368] Thu, 11 May 2006 12:08 Go to previous message
Eclipse UserFriend
Be careful with this solution. If the other views are moveable, they
can still be moved below the view that is not moveable. I'm not aware
of a way to disallow the docking of other views below that view.


scott brown wrote:
>>You can use IPageLayout#getViewLayout(*) to get the
>>IViewLayout for a
>>view in the layout, and then update if it's closeable
>>or moveable.
>>
>>Later,
>>PW
>
>
> That worked, thanks. Is there a way I can not show the title for this one view, tooo? Or is that really only for standalone views?
>
> Scott
Previous Topic:How to bind Model with the GUI in RCp
Next Topic:Question re-asked: how toassociate the part with its secondary view id?
Goto Forum:
  


Current Time: Sun Aug 31 00:07:40 EDT 2025

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

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

Back to the top