Hi there, I have a question about the new QmitkAbstractInterface, and the new concept of ZombieViews.
I was to have a plugin that will listen to the focus manager, so as each QmitkRenderWindow takes focus, the plugin knows which is the current window. Under the QmitkFunctionality I would have registered to the mitk::FocusManager in the Activated and Deactivated methods, so that when the View was closed, it was not listening or updating itself unnecessarily. So, now, do I just implement ILifeCycleAwarePart, tracking Activated and Deactivated states as appropriate? and register with the FocusManager in Activated and de-register in Deactivated. The given plugin does not "affect" the application state other than through updating image in the DataStorage, so it does not do things like add interactors, or remove crosshairs, so as I understand it I do not need to implement the IZombieViewPart to cleanup. Does that sound about right? Also, is QmitkMeasurementView a good example? If not, is there another example? Thanks Matt ------------------------------------------------------------------------------ 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 mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users