@Override
  public void apply() throws ConfigurationException {
    try {
      final CompilerConfigurationImpl config = (CompilerConfigurationImpl)CompilerConfiguration.getInstance(myProject);
      config.setDefaultProcessorProfile(myMainPanel.getDefaultProfile());
      config.setModuleProcessorProfiles(myMainPanel.getModuleProfiles());
    }
    finally {
      if (!myProject.isDefault()) {
        BuildManager.getInstance().clearState(myProject);
      }
    }
  }
@Override
  public void apply()