[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Listener for Editor Closing Action

Hi,

I have a MultiPageEditor, that has a navigator view (ViewPart) on the left 
that lists all the files that are currently opened on an editor. I used 
ActionFactory.CLOSE to add an action to the MenuBar to close the editor. 
Right now, when I have more than one file opened, and select it on the 
navigator view, if I close it from the File->Close the editor gets closed. 
However the file is not removed from the list of files from the Navigator 
View

What kind of action listener should the ViewPart add to be able to receive 
notifications of the closing file ?

Thanks,

--MD.