@Override
  public void apply() throws ConfigurationException {
    super.apply();
    myTemplatesManager.setTemplates(getItems());
    final TemplateResource selection = getSelectedItem();
    if (selection != null) {
      myTemplatesManager.setDefaultTemplate(selection);
    }
  }
@Override
  public void apply()