|Howto add a closelistener to a MPart? [message #1211310]
||Tue, 26 November 2013 06:21
| Alex Kipling
Registered: July 2012
I found the EPartService which allows me to listen to the parts,
when they are activated, deactivated, shown, hidden.
Is it possible to know when a part is closed?
Or what would be the right way to clean up the resources?
And again: I need to listen for the Part cycle from "outside"
(I will do something with a Shell, when the part is shown)
Further I wouldn't like to add a special @OnDestroy annotated method to the part, since my methods would only work with that parts, which would contain this method.
Powered by FUDForum
. Page generated in 0.01692 seconds