Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to programmatically minimize/ restore folder with views
How to programmatically minimize/ restore folder with views [message #675476] Tue, 31 May 2011 16:14
No real name is currently offline No real nameFriend
Messages: 3
Registered: May 2011
Junior Member
I have a perspective that splits my window into areas by using Instances of IFolderLayout. I would like to implement an action/command/hotkey to minimize/restore one of my folders that happens to contain 3 views. Can anyone clue me in to how to minimize the folder. The folder has a minimize button, I just don't know how to minimize/restore the folder programmatically.

Example: Code from Perspective createInitialLayout()

IFolderLayout infoFolder = layout.createFolder("InfoFolderID", IPageLayout.LEFT, 0.17f, editorArea);
infoFolder.addView(View1.ID);
infoFolder.addView(View2.ID);
infoFolder.addView(View2.ID);
Previous Topic:Problem with Delta Pack 3.6
Next Topic:how to disable perspective's popup menu item
Goto Forum:
  


Current Time: Thu Apr 18 03:09:12 GMT 2024

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

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

Back to the top