void (Element element, FTManager manager) { final String qName = element.getAttributeValue(ATTRIBUTE_NAME); if (qName == null) return; final FileTemplateBase template = manager.getTemplate(qName); if (template == null) { LOG.error("Template is missing: " + qName); return; } template.setFileName(StringUtil.notNullize(element.getAttributeValue(ATTRIBUTE_FILE_NAME))); template.setReformatCode(Boolean.parseBoolean(element.getAttributeValue(ATTRIBUTE_REFORMAT))); template.setLiveTemplateEnabled(Boolean.parseBoolean(element.getAttributeValue(ATTRIBUTE_LIVE_TEMPLATE))); if (template instanceof BundledFileTemplate) { ((BundledFileTemplate)template).setEnabled(Boolean.parseBoolean(element.getAttributeValue(ATTRIBUTE_ENABLED, "true"))); } }