Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » What controls the open state of a view on workspace creation?
What controls the open state of a view on workspace creation? [message #483032] Sat, 29 August 2009 11:58 Go to next message
Eclipse UserFriend
Originally posted by: no.dr.ess

My plugin implements a view. It is well behaved with one exception.
When a new workspace is created, my view is initially open. The better
behaviour would be for the view to be initially closed. If I switch
from one workspace to another, or restart Eclipse, the state of the view
is consistent with the last state of the view in the opened workspace.

What controls the initial open/closed state of a view in a newly created
workspace?
Re: What controls the open state of a view on workspace creation? [message #483187 is a reply to message #483032] Mon, 31 August 2009 10:01 Go to previous messageGo to next message
Eclipse UserFriend
The perspective definition controls whether the view is open or closed initially (i.e. when you reset the perspective or when you open in a new workspace). After that, the perspective's state is saved in the workspace metadata.

PW
Re: What controls the open state of a view on workspace creation? [message #483316 is a reply to message #483187] Mon, 31 August 2009 23:50 Go to previous message
Eclipse UserFriend
In article <h7gl4d$2qh$1@build.eclipse.org>, pwebster@ca.ibm.com says...
>
> The perspective definition controls whether the view is open or closed initially (i.e. when you reset the perspective or when you open in a new workspace). After that, the perspective's state is saved in the workspace metadata.
>
> PW

Ok, perspectiveExtension->(view)->visible = false. That works. Thanks.
Previous Topic:How to link plugin preferencePage as sub-category of another plugin?
Next Topic:PropertyTester org.eclipse.core.resources.contentTypeId and hierarchical content types
Goto Forum:
  


Current Time: Wed Jul 23 19:05:33 EDT 2025

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

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

Back to the top