Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » inVisible View in Perpective
inVisible View in Perpective [message #464620] Tue, 13 March 2007 04:36 Go to next message
Eclipse UserFriend
Hello

There is a view in my perspective. How can I make invisible the view when
opened perpective. So Default status of view in perpective have to
invisible. After I will open it with a button.

Thank You!
Re: inVisible View in Perpective [message #464629 is a reply to message #464620] Tue, 13 March 2007 10:28 Go to previous messageGo to next message
Eclipse UserFriend
Hello

I would recommend in this case dont include it in your perspective itself.
And when you press the button fire a showView command.

regards
Malai
Re: inVisible View in Perpective [message #464686 is a reply to message #464629] Tue, 13 March 2007 11:13 Go to previous message
Eclipse UserFriend
Originally posted by: peter_ossipov.mail.ru

Look at this snippet:

IFolderLayout bottomRight = layout.createFolder(BOTTOM_RIGHT,
IPageLayout.BOTTOM, (float)0.7, editorArea);
bottomRight.addView(CommandLineView.ID);
bottomRight.addPlaceholder(IPageLayout.ID_PROP_SHEET);
If you use addView it will be shown when the perspecitve is opened first
if you use addPlaceholder it just says where to put the view, but does
not show it.
Annamalai C wrote:
> Hello
>
> I would recommend in this case dont include it in your perspective
> itself. And when you press the button fire a showView command.
>
> regards
> Malai
>
Previous Topic:update one view's model from another
Next Topic:building executable
Goto Forum:
  


Current Time: Sun Jul 06 06:55:50 EDT 2025

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

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

Back to the top