HomePhabricator
Diffusion MITK bced527a2d6b

Use node predicate correctly

Description

Use node predicate correctly

Summary:
Check node predicate before adding a node

A local node predicate could have been set before so we need
to check each time a node is added to the data storage if this node
is also relevant for the tree model.

Test Plan:
currently we are only using the simple tree model
inside the QmitkDataStorageViewerTestView.
Here no node predicate is set.
This could be tested by enabling the mentioned plugin and
call m_Controls.treeInspector->SetNodePredicate with something meaningful.

Reviewers: floca, O3 MITK Reviewer Group II

Reviewed By: floca, O3 MITK Reviewer Group II

Subscribers: kalali, floca

Maniphest Tasks: T29360

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

Details

Provenance
kalaliAuthored on Oct 13 2022, 2:19 PM
kalaliPushed on Oct 14 2022, 10:49 AM
Reviewer
O3: MITK Reviewer Group II
Differential Revision
Restricted Differential Revision
Parents
rMITK03fc617fe874: Check node predicate before adding a node
rMITK3c4cdf84f1e7: Remove render window names
Branches
Unknown
Tags
Unknown
Tasks
T29360: [Storage inspector] Node predicate not used correctly