Hi Sebastian, you could inherit from mitk::ILifecycleAwarePart - see its corresponding documentation.
In your case however, I think that you would want to keep your interaction unless another part in the workbench would like to "take over". Otherwise, clicking in the multi-widget for example would also trigger the removal of your custom display interactor. See mitk::IZombieViewPart for details. Best, Sascha On 12/17/2013 04:10 PM, Sebastian Ordas wrote: > Dear List, > > Now that I can happily make use of my own display interaction upon > CreateQtPartControl() execution, I would like to detect when my plugin > is not active anymore (i.e. tab sheet is switched to another plugin), so > that I can switch back to the default display interactor. > > Is it there any QmitkAbstractView method that I can override? > > SetFocus() does not make the trick ... > > thank you, > sebastian > > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > mitk-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
