public void deleteSelectedConfiguration(IConfigurationChooser chooser) {
    chooser.dispose();

    ProxyPresenter presenter = view.getProxyPresenter();
    String configurationName = chooser.getChosenConfigurationName();

    setTitle(null);
    if (configurationName == null) {

      Logger.getLogger(this.getClass()).info("No configuration selected.");

    } else {

      presenter.deleteConfiguration(configurationName);

      Logger.getLogger(this.getClass()).info("Deleted configuration '" + configurationName + "'");
    }
  }
  public void loadSelectedConfiguration(IConfigurationChooser chooser) {
    chooser.dispose();

    ProxyPresenter presenter = view.getProxyPresenter();
    String configurationName = chooser.getChosenConfigurationName();

    setTitle(configurationName);

    if (configurationName == null) {

      Logger.getLogger(this.getClass()).info("No configuration selected.");

    } else {
      presenter.loadProxySettings(configurationName);
      presenter.loadDecoratorSettings(configurationName);

      Logger.getLogger(this.getClass()).info("Loaded configuration '" + configurationName + "'");
    }
  }