Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How can we know when an Editor is closed
How can we know when an Editor is closed [message #267785] Thu, 19 August 2004 11:27 Go to next message
Eclipse UserFriend
Originally posted by: gupolet.ulb.ac.be

Hi,

I was wondering how I could be notified of the closing of one of my editor,
because it needs to remove some stuff from the model.

Thank you

Guillaume
Re: How can we know when an Editor is closed [message #267789 is a reply to message #267785] Thu, 19 August 2004 12:52 Go to previous messageGo to next message
Eclipse UserFriend
@see org.eclipse.ui.IWorkbenchPart#dispose()

HTH
Darins

"Guillaume Polet" <gupolet@ulb.ac.be> wrote in message
news:cg2goc$go5$1@eclipse.org...
> Hi,
>
> I was wondering how I could be notified of the closing of one of my
editor,
> because it needs to remove some stuff from the model.
>
> Thank you
>
> Guillaume
>
>
Re: How can we know when an Editor is closed [message #267794 is a reply to message #267789] Thu, 19 August 2004 12:14 Go to previous messageGo to next message
Eclipse UserFriend
See also IPartListener (IPartListener2)
Workbench.getInstance().getActiveWorkbenchWindow().getActive Page().addPartListener(IPartListener);

Darin Swanson wrote:
> @see org.eclipse.ui.IWorkbenchPart#dispose()
>
> HTH
> Darins
>
> "Guillaume Polet" <gupolet@ulb.ac.be> wrote in message
> news:cg2goc$go5$1@eclipse.org...
>
>>Hi,
>>
>>I was wondering how I could be notified of the closing of one of my
>
> editor,
>
>>because it needs to remove some stuff from the model.
>>
>>Thank you
>>
>>Guillaume
>>
>>
>
>
>
Re: How can we know when an Editor is closed [message #267906 is a reply to message #267794] Thu, 19 August 2004 22:15 Go to previous message
Eclipse UserFriend
Originally posted by: gupolet.ulb.ac.be

Sorry that I've bothered for that. Somehow my CTRL+SPACE wouldn't work
(probably winXP doing it again).
"Ilya Shinkarenko" <shinych@mail.ru> a
Previous Topic:[RCP] How to change the language of...
Next Topic:Building eclipse from eclipse
Goto Forum:
  


Current Time: Fri Jun 06 04:17:19 EDT 2025

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

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

Back to the top