Skip to main content



      Home
Home » Eclipse Projects » GEF » How to programmatically close the editor?
How to programmatically close the editor? [message #199152] Thu, 13 October 2005 17:36 Go to next message
Eclipse UserFriend
Originally posted by: jsk_lam.hotmail.com

Hi,

I need to close the GEF editor programmatically. Could someone please
show me show to close it without resource leak?

Thanks
skl
Re: How to programmatically close the editor? [message #199160 is a reply to message #199152] Thu, 13 October 2005 17:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jsk_lam.hotmail.com

BTW, I am using the org.eclipse.ui.part.MultiPageEditorPart

"sl" <jsk_lam@hotmail.com> wrote in message
news:dimk14$906$1@news.eclipse.org...
> Hi,
>
> I need to close the GEF editor programmatically. Could someone please
> show me show to close it without resource leak?
>
> Thanks
> skl
>
>
Re: How to programmatically close the editor? [message #199168 is a reply to message #199160] Thu, 13 October 2005 17:56 Go to previous message
Eclipse UserFriend
Inside your editor you can call
getSite().getPage().closeEditor( this, false )

"sl" <jsk_lam@hotmail.com> wrote in message
news:dimk7v$98d$1@news.eclipse.org...
> BTW, I am using the org.eclipse.ui.part.MultiPageEditorPart
>
> "sl" <jsk_lam@hotmail.com> wrote in message
> news:dimk14$906$1@news.eclipse.org...
>> Hi,
>>
>> I need to close the GEF editor programmatically. Could someone please
>> show me show to close it without resource leak?
>>
>> Thanks
>> skl
>>
>>
>
>
Previous Topic:Crash with empty Labels on Linux
Next Topic:Draw2d Figures Docking
Goto Forum:
  


Current Time: Fri Jun 20 16:07:24 EDT 2025

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

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

Back to the top