@Nullable
  @Override
  public FileSetDescriptor getDescriptor() {
    int selectedIndex = myForm.getScopesList().getSelectedIndex();
    String scopeName = selectedIndex >= 0 ? myScopeListModel.getElementAt(selectedIndex) : null;
    if (scopeName != null) {
      for (NamedScope scope : myAvailableScopes) {
        if (scopeName.equals(scope.getPresentableName())) {
          return new NamedScopeDescriptor(scope);
        }
      }
    }
    return null;
  }
@Nullable
  @Override
  public FileSetDescriptor getDescriptor()