Hi all,

I finally found what was breaking mitk::ILifecycleAwarePart. MITK2014.10 is not to blame! ;) In my *_app plugin, in the manifest_headers.cmake file, I added the name of my *_view plugin.
set(Require-Plugin org.imeka.some_view_plugin)
because I needed a class defined there.
It turns out, you can do it, everything will work, but it disables ILifecycleAwarePart and QmitkViewCoordinator for some reasons.

Le 2015-01-14 11:02, Nil Goyette a écrit :
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?

        

------------------------------------------------------------------------------
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