|Re: How to Disable close option in a view [message #717544 is a reply to message #716342]
||Sun, 21 August 2011 03:57
| John Steele
Registered: June 2010
Location: Seattle, WA
It depends on how you add the view to the perspective. |
If you add the view programmatically in the perspective factory then you have to specify the view as being either closeable or not:
IFolderLayout topLeft = layout.createFolder("distributed.grep.client.topLeft", IPageLayout.LEFT, 0.25f, editor);
If you add the view to the perspective using extensions in the plugin.xml then you specify the closeable attribute.
If the perspective is set to being fixed, then by default the view will be closeable.
Powered by FUDForum
. Page generated in 0.01559 seconds