void (@NotNull PyDebugValue value) { ToolWindow window = ToolWindowManager.getInstance(myProject).getToolWindow(DATA_VIEWER_ID); if (window == null) { LOG.error("Tool window '" + DATA_VIEWER_ID + "' is not found"); return; } window.getContentManager().getReady(this).doWhenDone(() -> { TabInfo selectedInfo = addTab(value.getFrameAccessor()); PyDataViewerPanel dataViewerPanel = (PyDataViewerPanel)selectedInfo.getComponent(); dataViewerPanel.apply(value, false); }); window.show(null); final Content dataView = window.getContentManager().getContent(0); if (dataView != null) { window.getContentManager().setSelectedContent(dataView); } }