@Override
    public boolean validateEditorInputState() {
        boolean res = super.validateEditorInputState();
        if (res) {
            setFocusToTextControl();
        }
        return res;
    }
Sets focus in current editor.
This function is called on drag-n-drop and some other operations
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/SQLEditor.java