Page MenuHomePhabricator

mitk::EventConfig should be initializable without an XML-File
Closed, DuplicatePublic

Description

Currently the mitk::EventConfig can only be initialized by loading an XML-File that contains the desired configuration.

For reasons of convenience it would be great to able to initialize an EventConfig in the code.

This is necessary when the desired configuration is read from a database as we would have to write everything into an XML-File and read it again although we already have all the information we need in the code.

We had already discussed this feature request in our last meeting, but I didn't find the feature in the current master.

Event Timeline

Providing a way to construct EventConfig in the code through mitk::PropertyLists has been implemented by bug-fix 14915.
This bug will be merged after more testing.