void (ActionEvent e) { final TreeClassChooserFactory factory = TreeClassChooserFactory.getInstance(myProject); final TreeClassChooser chooser = factory.createAllProjectScopeChooser(IntelliLangBundle.message("dialog.title.select.class")); chooser.showDialog(); final PsiClass psiClass = chooser.getSelected(); if (psiClass != null) { setPsiClass(psiClass.getQualifiedName()); updateParamTree(); updateInjectionPanelTree(); } }