@Override
  public void saveContext(@NotNull Project project, @NotNull Element toElement) throws WriteExternalException {
    WatchesManagerState state = new WatchesManagerState();
    getWatchManager(project).saveState(state);
    Element serialize = serialize(state);
    if (serialize != null) {
      toElement.addContent(serialize.removeContent());
    }
  }
@Override
  public void saveContext(@NotNull Project project, @NotNull Element toElement)