@Nullable
 public SearchScope getCustomScope() {
   if (myCustomScopeButton.isSelected()) {
     return myScopeCombo.getSelectedScope();
   }
   return null;
 }
  @Nullable
  @Override
  public SearchScope getSearchScope() {
    if (myUseScopeFilteringCb.isSelected()) {
      return myScopeCombo.getSelectedScope();
    }

    return null;
  }