@Override
  public void apply() throws ConfigurationException {
    super.apply();
    myModel.apply();

    if (myPanels != null) {
      for (Configurable panel : myPanels) {
        if (panel instanceof CodeStyleConfigurableWrapper) {
          ((CodeStyleConfigurableWrapper)panel).applyPanel();
        }
        else {
          panel.apply();
        }
      }
    }

    SimpleModificationTracker codeStyleModificationTracker = CodeStyle.getSettings(myProject).getModificationTracker();
    long settingsModificationCount = codeStyleModificationTracker.getModificationCount();
    CodeStyleSettingsManager.getInstance(myProject).fireCodeStyleSettingsChanged();
    if (settingsModificationCount != codeStyleModificationTracker.getModificationCount()) {
      myModel.updateClonedSettings();
    }
  }
@Override
  public void apply()