CoverageSuitesBundle () { ContentManager manager = myContentManager; if (manager == null) return null; Content selectedContent = manager.getSelectedContent(); if (selectedContent == null) return null; for (var entry : myViews.entrySet()) { Content content = manager.getContent(entry.getValue()); if (content == selectedContent) { return entry.getKey(); } } return null; }