void () { viewContentPanel = new JPanel(); viewContentPanel.putClientProperty(FileEditorManagerImpl.OPEN_IN_PREVIEW_TAB, true); panel = new SimpleToolWindowPanel(true).setProvideQuickActions(false); panel.setContent(viewContentPanel); }