@Override
        protected IStatus run(DBRProgressMonitor monitor) {
            if (monitor.isCanceled() || DBWorkbench.getPlatform().isShuttingDown()) {
                return Status.CANCEL_STATUS;
            }
            IWorkbenchWindow window = UIUtils.findActiveWorkbenchWindow();
            if (window != null) {
                IWorkbenchPage page = window.getActivePage();
                if (page != null && page.getActiveEditor() instanceof SQLEditor editor) {
                    UIUtils.syncExec(() -> editor.updateStatusField(STATS_CATEGORY_TRANSACTION_TIMEOUT));
                }
            }
            schedule(UPDATE_DELAY_MS);
            return Status.OK_STATUS;
        }
Build and update icon and title
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/SQLEditor.java