I have a eclipse rcp application in which i had created a editor which extends EditorPart.
I want to do some release resource work in its close()
editor action, so i want to override its close action or any method that just came in to action before to close event.
I had tried dispose()
but it to late to work on it.
Or is there any specific listener that listen close event.
i want to have like that:
@override
public void close()
{
//do something resource release related task.
}
Update: basically i want to intercept close event for a editor.
dispose
too late?