JComponent () { RunDashboardManagerImpl manager = ((RunDashboardManagerImpl)RunDashboardManager.getInstance(myNode.getProject())); RunDashboardComponentWrapper wrapper = manager.getContentWrapper(); Content content = myNode.getContent(); if (content == null) { wrapper.setContent(manager.getEmptyContent()); wrapper.setContentId(null); } else { ContentManager contentManager = content.getManager(); if (contentManager == null) return null; wrapper.setContent(contentManager.getComponent()); wrapper.setContentId(getContentId()); } return wrapper; }