void (@NotNull SchemeManager<TemplateGroup> schemeManager) { for (TemplateGroup group : schemeManager.getAllSchemes()) { schemeManager.removeScheme(group); } myTemplates.clear(); myDefaultTemplates.clear(); }