@Override
    public void setFocus() {
        super.setFocus();
        topBarMan.update(true);
    }
Obtain the add-in instance by its concrete type
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/SQLEditor.java