Hi all,

In MITK 2014.03, I was using ILifecycleAwarePart::Visible() and ILifecycleAwarePart::Hidden() in one of my view. I simply extended the view with mitk::ILifecycleAwarePart and everything worked as intented. We realized after the port to MITK 2014.10 that Visible() and Hidden() are not called anymore.

I tried understanding what's going on and I think the /magic/ is supposed to happen in QmitkViewCoordinator.cpp in PartHidden() and PartVisible(), which simply try to cast the view pointer to a mitk::ILifecycleAwarePart* and call Visible/Hidden. The problem is, those methods are never called (I checked with a breakpoint). Do I need to do something special other than extend mitk::ILifecycleAwarePart?

--
Logo Imeka <http://imeka.ca/>     Nil Goyette, M.Sc.
www.imeka.ca <http://imeka.ca/>

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to