@Override
    public void setFocus()
    {
        tree.getViewer().getControl().setFocus();
    }
Passing the focus request to the viewer's control.
plugins/org.jkiss.dbeaver.ui.navigator/src/org/jkiss/dbeaver/ui/navigator/database/NavigatorViewBase.java