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 12:14
No real name is currently offline No real name
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: Wed Jul 30 19:37:21 EDT 2014

Powered by FUDForum. Page generated in 0.01965 seconds