When a segmentation tool is activated, the display interactor is disabled. The interactor is re-enabled when the tool is switched off. The principle is good, but the implementation assumes that the MITK display (stdmultiwidgeteditor) is used, and this causes problems for us.
We have a custom editor with a different display interactor. We also want to overwrite the display interactor statemachine configuration at tool activation, but with one that works with our interactor, obviously. The problem is that saving and restoring the configuration is done in mitk::ToolManager::ActivateTool, that offers no way to override. Moreover, ActivateTool restores the configuration after it calls Tool::Activate, so it is not possible to override what it did from a derived class function.
I want to propose a patch that moves this logic to mitk::Tool::Activated / Deactivated, so that the implementations could override it.