Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 18:51 Go to next message
Richard Koop is currently offline Richard KoopFriend
Messages: 15
Registered: July 2009
Junior Member
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 17:38 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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: Tue Apr 16 15:42:34 GMT 2024

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

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

Back to the top