Hi Miklos, I cannot rule out bugs in the logic for calling these methods, but the methods in the IRenderWindowPartListener interface are not following the same lifecycle notion as for normal workbench parts (as shortly stated in the documentation of that class).
If you would like to listen to the normal lifecycle events, register a usual part listener. If you still find the behaviour irritating, please describe your use-case excactly (i.e. layout of editors/views and user interaction). Thanks, Sascha On 05/28/2012 06:46 PM, Miklos Espak wrote: > Hi, > > I would like to make my view listen to the render window activation > events. The view is derived from QmitkAbstractView and > IRenderWindowPartListener. > > As I observed, when I switch between editors, the > RenderWindowPartActivated is called for the new editor. This is fine. > However, the RenderWindowPartDeactivated is not called for the > previous editor, only if it is closed. > > Is this the intended behaviour? > > Thanks, > Miklos > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > mitk-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
