title: How do I add a listener to editor tab closing in Eclipse RCP 3?
body: <p>I am trying to add a listener to closing an editor tab in an eclipse RCP application (I'm using Eclipse RCP 3, not the latest version). I tried overriding the <code>close()</code> method from <code>org.eclipse.ui.forms.editor.FormEditor</code> (the superclass of my editor), but it isn't called when the tab is closed by the user (using the x button on the right side of the tab header). How can I approach this problem in a different way?</p>