|
|
|
Re: I want do something before closing a view [message #543352 is a reply to message #542630] |
Tue, 29 June 2010 04:01  |
Eclipse User |
|
|
|
On 25.06.2010 15:46, Christophe Fondacci wrote:
> Hello Ricky,
>
> If you're sure the view has been created (view controls were created /
> view had focus), you could simply overload the dispose() method in your
> view part and add all your "something" work in this method.
I stumbled several times across the problem, that the ViewPart.dispose()
function is actually called, *after* the controls have been disposed,
which is sometimes too late for some-cleanup work - Therefore I
recommend to listen to an IPartListener2 instead.
Greetings from Bremen,
- Daniel Krügler
|
|
|
Powered by
FUDForum. Page generated in 0.13380 seconds