public void checkAllChanges() {
   boolean hasChanges = false;
   for (Synchable s : list) {
     hasChanges = hasChanges || s.needsSynching();
   }
   this.setEnabled(hasChanges);
 }
  public void save() {
    // synch field with in-memory document, set field to appear saved
    for (Synchable s : list) {
      s.synch();
    }

    // call the method in Main
    Main.save();
  }