Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Programmatically minimize view stack to trim
Programmatically minimize view stack to trim [message #467805] Thu, 10 May 2007 16:55
Eclipse UserFriend
I'm working on an RCP application where I'd like a folder of views to be
minimized to the top trim in the intial layout. So far the best I have is:

IWorkbenchPage page =
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage();
IWorkbenchPartReference myView = page.findViewReference(myView.ID);
page.setPartState(myView, IWorkbenchPage.STATE_MINIMIZED);

I currently have this code in my WorkbenchAdvisor.postStartup() method.

The main disadvantage of this is that I see the animation of the view stack
being minimized when my app loads. Also, the view stack is minimized to the
right trim and I'd like it to be on the top trim.

Anyone know a good way of doing this? By the way, the new minimize/maximize
is awesome!
Previous Topic:How to SET an parameter for a command
Next Topic:Show Dialog after Job is finished
Goto Forum:
  


Current Time: Tue May 13 07:09:42 EDT 2025

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

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

Back to the top