Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Close editor area
Close editor area [message #463555] Tue, 13 February 2007 11:56 Go to next message
Eclipse UserFriend
When a user closes the last open editor is there a way to close the editor
area so it doesn't take up any space?
Thanks.
Stefan
Re: Close editor area [message #463557 is a reply to message #463555] Tue, 13 February 2007 12:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: peter_ossipov.mail.ru

Hello Stefan.
Fortunately there is a way. Check
IWorkbenchpage.setEditorAreaVisible(boolean) method
You can add the listener using
getWindow().getPartService().addPartListener(). Once all the editors are
closed, you can hide your editor area
Stefan Beskow wrote:
> When a user closes the last open editor is there a way to close the editor
> area so it doesn't take up any space?
> Thanks.
> Stefan
>
>
>
Re: Close editor area [message #463619 is a reply to message #463557] Tue, 13 February 2007 12:06 Go to previous message
Eclipse UserFriend
Terrific.
Thanks for your help.
Stefan

"Peter Osipov" <peter_ossipov@mail.ru> wrote in message
news:eqsqsl$4n6$1@utils.eclipse.org...
> Hello Stefan.
> Fortunately there is a way. Check
> IWorkbenchpage.setEditorAreaVisible(boolean) method
> You can add the listener using
> getWindow().getPartService().addPartListener(). Once all the editors are
> closed, you can hide your editor area
> Stefan Beskow wrote:
>> When a user closes the last open editor is there a way to close the
>> editor area so it doesn't take up any space?
>> Thanks.
>> Stefan
>>
>>
Previous Topic:Project dependencies
Next Topic:Replace Contents of Editor
Goto Forum:
  


Current Time: Sat Mar 15 01:52:33 EDT 2025

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

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

Back to the top