@Override
            public void widgetSelected(SelectionEvent e) {
                if (extraPresentationManager.activePresentationPanel != null) {
                    extraPresentationManager.activePresentationPanel.deactivatePanel();
                    extraPresentationManager.activePresentationPanel = null;
                }
                Object data = e.item.getData();
                if (data instanceof QueryResultsContainer qrc) {
                    setActiveResultsContainer(qrc);
                } else if (data instanceof SingleTabQueryProcessor stqp) {
                    setActiveResultsContainer(stqp.getFirstResults());
                } else if (data instanceof SQLEditorPresentationPanel pp) {
                    extraPresentationManager.activePresentationPanel = pp;
                    extraPresentationManager.activePresentationPanel.activatePanel();
                } else if (data instanceof ExplainPlanViewer epv) {
                    SQLQuery planQuery = epv.getQuery();
                    if (planQuery != null) {
                        getSelectionProvider().setSelection(new TextSelection(planQuery.getOffset(), 0));
                    }
                }
            }
Changes mode of showing result for script execution - multiple results per tab or one tab per result.
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/SQLEditor.java