void (ActionEvent ignore) { String selection = getSelectedScopeName(); if (myBrowseListener != null) myBrowseListener.onBeforeBrowseStarted(); EditScopesDialog dlg = EditScopesDialog.showDialog(myProject, selection); if (dlg.isOK()) { NamedScope namedScope = dlg.getSelectedScope(); rebuildModelAndSelectScopeOnSuccess(namedScope == null ? null : namedScope.getScopeId()); } if (myBrowseListener != null) myBrowseListener.onAfterBrowseFinished(); }