HomePhabricator
Diffusion MITK 677e2badb8fa

Refactor data manager

Description

Refactor data manager

Summary:
Moved functions of the context menu to own classes and created a context menu class that initializes these actions.
Some actions contain a globally accessible function (namespace) to provide the functionality without initializing the corresponding action.
Preferences for 'GlobalReinit' have been moved to the 'GeneralPreferencePage'.

Had to remove the 'QmitkNodeTableViewKeyFilter' and the 'QmitkDataManagerHotkeysPrefPage', since the actions where not accessible anymore.
If needed the required actions can be made globally accessible.

Also fixes T22435 and T25254.

Some topics remain unresolved:

We still have to discuss which actions are needed in the context menu and which not.

Test Plan: manual testing

Reviewers: kislinsk

Subscribers: kalali

Maniphest Tasks: T25056, T25254, T22435

Differential Revision: https://phabricator.mitk.org/D156

Details

Provenance
kalaliAuthored on Aug 13 2018, 3:38 PM
kalaliPushed on Nov 9 2018, 10:37 AM
Differential Revision
Restricted Differential Revision
Parents
rMITK0c8f0c7e0cc0: Move the info dialog
Branches
Unknown
Tags
Unknown
Tasks
T25254: Propagate preference page options
T22435: QmitkDataManager checks for deprecated QmitkStatisticsAction