protected void doApply() {
    if (!myApplying) {
      try {
        myApplying = true;
        apply();
        myChangeListener.consume(myRepository);
        enableEditor();
      }
      finally {
        myApplying = false;
      }
    }
  }
protected void doApply()