[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: listener on editor (close event)

You need to register an IPartListener2 and then you'll get informed about PartEvents (opening/showing/closing).

Tom

KarSc schrieb:
Hi all
Is there a way to know when an editor is going to close?

IEditorPart editorPart = page.openEditor(editorInput, getEditorId(fileStore));

What can I do to know when the above editor has been closed?
Thanks
Kar




--
B e s t S o l u t i o n . at
--------------------------------------------------------------------
Tom Schindl                                          JFace-Committer
--------------------------------------------------------------------