@Override
            public void mouseUp(MouseEvent e) {
                super.mouseUp(e);
                // Commented because it forced selection reset on connection expand
/*
                Point point = new Point(e.x, e.y);
                TreeItem item = navigatorTree.getViewer().getTree().getItem(point);
                if (item == null) {
                    navigatorTree.getViewer().setSelection(new StructuredSelection());
                } 
*/
            }
This is a callback that will allow us to create the viewer and initialize
it.
plugins/org.jkiss.dbeaver.ui.navigator/src/org/jkiss/dbeaver/ui/navigator/database/NavigatorViewBase.java