@Override
  public boolean processUnsavedDocuments(Processor<? super Document> processor) {
    for (Document doc : myUnsavedDocuments) {
      if (!processor.process(doc)) return false;
    }

    return true;
  }
@Override
  public boolean processUnsavedDocuments(Processor<? super Document> processor)