Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » hide view in layout
hide view in layout [message #228980] Wed, 14 April 2004 21:47
Eclipse UserFriend
Originally posted by: eugene_chan.hotmail.com

Hi,

I am trying to set a perspective layout with a lower left bottom to show
Property Sheet, but if I set to not show the view initially, it will show
a grey area. Is there a way to not showing the grey area, but have the
flexibility to have what is set above property sheet area to expand
vertically to cover the grey area, and vice versa when the property sheet
is open by user.

this is currently what is in my code:

IFolderLayout topRight = layout.createFolder("topRight", IPageLayout.TOP,
(float)0.70,layout.getEditorArea());
topRight.addView(ID_CONSOLE_VIEW);

// Top left.
IFolderLayout topLeft = layout.createFolder("topLeft", IPageLayout.LEFT,
(float)0.30,"topRight");
topLeft.addView(IPageLayout.ID_RES_NAV);

IFolderLayout bottomRight = layout.createFolder("bottomRight",
IPageLayout.BOTTOM, (float)0.80,"topLeft");
bottomRight.addPlaceholder(IPageLayout.ID_PROP_SHEET);

layout.addShowViewShortcut(IPageLayout.ID_PROP_SHEET);

Thanks in advance!
Previous Topic:M8 Look and feel
Next Topic:<library name="?">
Goto Forum:
  


Current Time: Tue Jul 22 21:28:01 EDT 2025

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

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

Back to the top