@Override
  public void loadState(@NotNull Element state) {
    List<Element> sets = state.getChildren(SCOPE_TAG);
    NamedScope [] scopes = new NamedScope[sets.size()];
    for (int i = 0; i < sets.size(); i++) {
      Element set = sets.get(i);
      scopes[i] = readScope(set);
    }
    myScopes = scopes;
    fireScopeListeners();
  }
@Override
  public void loadState(@NotNull Element state)