@Override
            public void run() {
                if (SQLEditor.this.isPartControlInitialized) {
                    accomplishEditorInputInitialization(finalEditorInput);
                } else {
                    UIExecutionQueue.queueExec(this);
                }
            }
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