| 658 | namespace |
| 659 | { |
| 660 | nlohmann::json EditorInfoToJson(const mitk::EditorInfo& info, bool includeWindowList) |
| 661 | { |
| 662 | nlohmann::json j; |
| 663 | j["alias"] = info.alias; |
| 664 | j["plugin_id"] = info.pluginId; |
| 665 | j["active"] = info.active; |
| 666 | if (includeWindowList) |
| 667 | { |
| 668 | j["windows"] = nlohmann::json::array(); |
| 669 | for (const auto& id : info.windowIds) |
| 670 | j["windows"].push_back(id); |
| 671 | } |
| 672 | return j; |
| 673 | } |
| 674 | |
| 675 | bool IsValidStandardViewName(const std::string& v) |
| 676 | { |
no outgoing calls
no test coverage detected