@Override
    public void actionPerformed(@NotNull AnActionEvent e) {
      NamedScope scope = (NamedScope)getSelectedObject();
      if (scope != null) {
        final ScopeConfigurable configurable =
          (ScopeConfigurable)((MyNode)myTree.getSelectionPath().getLastPathComponent()).getConfigurable();
        NamedScopesHolder holder = configurable.getHolder();
        PackageSet set = scope.getValue();
        addNewScope(holder.createScope(createUniqueName(), set == null ? null : set.createCopy()), holder == myLocalScopesManager);
      }
    }
@Override
    public void actionPerformed(@NotNull AnActionEvent e)