private QueryProcessor createQueryProcessor(boolean setSelection, boolean singleQuery, boolean makeDefault) {
        final QueryProcessor queryProcessor = useTabPerQuery(singleQuery)
            ? new MultiTabsQueryProcessor(makeDefault)
            : new SingleTabQueryProcessor(makeDefault);
        curQueryProcessor = queryProcessor;
        curResultsContainer = queryProcessor.getFirstResults();
        if (setSelection) {
            CTabItem tabItem = curResultsContainer.getResultsTab();
            if (tabItem != null) {
                setResultTabSelection(tabItem);
            }
        }

        return queryProcessor;
    }
Build and update icon and title
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/SQLEditor.java