private boolean containsConfig(String name) {
   return configurations.containsKey(name);
 }
 private void addConfig(Configuration configuration) {
   configList.addItem(configuration.getName());
   configurations.put(configuration.getName(), configuration);
 }
 private void removeSelectedConfig() {
   configurations.remove(getSelectedConfig());
   configList.removeItem(getSelectedConfigIndex());
 }
 private Configuration getSelectedConfiguration() {
   return configurations.get(getSelectedConfig());
 }