Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Auto close of editor area when last editor closed
Auto close of editor area when last editor closed [message #336055] Fri, 15 May 2009 14:51 Go to next message
Eclipse UserFriend
My perspective has an editor area that initially is not visible (ie.
layout.setEditorAreaVisible(false)). When an edit occurs the editor area
becomes visible. When all editors are closed the editor area stays
visible and blank.

Is there a way to make the editor area not visible again once all editors
are closed?
Re: Auto close of editor area when last editor closed [message #336085 is a reply to message #336055] Wed, 20 May 2009 13:38 Go to previous message
Eclipse UserFriend
There is an action, org.eclipse.ui.actions.ActionFactory.SHOW_EDITOR and
a command id = org.eclipse.ui.window.hideShowEditors

There is also (apparently) API on
org.eclipse.ui.IWorkbenchPage.setEditorAreaVisible(boolean)

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm
Previous Topic:popup menu RCP eclipse 3.4
Next Topic:Access handler reference
Goto Forum:
  


Current Time: Fri Apr 25 03:46:54 EDT 2025

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

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

Back to the top