Page MenuHomePhabricator

Remove PlanarFigure related code in CoreUI
Closed, ResolvedPublic

Description

QmitkNodeDescriptorManager is a CoreUI class.

QmitkNodeDescriptorManager::Initialize() adds NodeDescriptors for PlanarFigure classes, but PlanarFigures are part of MitkExt. NodeDescriptors should therefore be added in MitkExt or QmitkExt or a QmitkExtActivator class in a QmitkExt bundle, if that exists (analogous to DiffusionImaging).

This is nothing serious, but it will help to keep the Core clean.

Can be done by anyone at a bug squashing party.

Event Timeline

can be done by someone else during bugsquashing -> trivial

I don't fully understand this. You say

  1. QmitkNodeDescriptorManager is a CoreUI class.
  2. QmitkNodeDescriptorManager::Initialize() adds NodeDescriptors for PlanarFigure

classes

  1. PlanarFigures are part of MitkExt

Unless you use strings to identify classes, these sentences contradict... if 1 and 2, then 3 should not be possible, should never compile...

Michi, could you clarify this and sketch a solution so that anybody would be able to fix this?

[SVN revision 21137]
FIX (#3125): move registration of icons for planar figures from CoreUI to QmitkExt

[SVN revision 21138]
FIX (#3125): remove image files from core to clear core of non-core references