private void setSelectedTemplate(String key, final HashMap<String, DriftDefinitionTemplate> templatesMap) {
DriftDefinitionTemplate selectedTemplate = templatesMap.get(key);
wizard.setSelectedTemplate(selectedTemplate);
Configuration startingConfig = selectedTemplate.createConfiguration();
// don't propogate the template name or desc to the def, force the user to enter a name, and optionally, a def
startingConfig.remove(DriftConfigurationDefinition.PROP_NAME);
startingConfig.remove(DriftConfigurationDefinition.PROP_DESCRIPTION);
wizard.setNewStartingConfiguration(startingConfig);
String description = selectedTemplate.getDescription();