| How to programmatically minimize/ restore folder with views [message #675476] |
Tue, 31 May 2011 12:14 |
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);
|
|
|
Powered by
FUDForum. Page generated in 0.01356 seconds