Skip to main content



      Home
Home » Newcomers » Newcomers » Compilation Unit editor
Compilation Unit editor [message #267668] Tue, 13 January 2009 00:45 Go to next message
Eclipse UserFriend
Hi All,
I have a compilation unit editor which opens on a xml file.
I want to get a hook to my code on the save of compilation unit editor.
Is it possible technically?.

Thanks and Regards,
Saurav
Re: Compilation Unit editor [message #267682 is a reply to message #267668] Tue, 13 January 2009 08:35 Go to previous messageGo to next message
Eclipse UserFriend
Ok...is it possible to get a call when the compilation unit editor is
closed.
Is there some listener i can attach which will do the same.
Re: Compilation Unit editor [message #267697 is a reply to message #267682] Tue, 13 January 2009 12:31 Go to previous message
Eclipse UserFriend
saurav wrote:
> Ok...is it possible to get a call when the compilation unit editor is
> closed.
> Is there some listener i can attach which will do the same.
See org.eclipse.ui.IPartListener2 and maybe
org.eclipse.ui.ISaveablesLifecycleListener could be of a help for your
problem.

Dani
Previous Topic:[Europa] Cannot expand projects in Navigator View
Next Topic:Adding own libraries to PDT Javascript support
Goto Forum:
  


Current Time: Thu Jul 17 09:52:51 EDT 2025

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

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

Back to the top