boolean (@NotNull Project project, @NotNull Editor editor, @NotNull PsiFile file) { return super.isValidForFile(project, editor, file) && ZenCodingTemplate.findApplicableDefaultGenerator(new CustomTemplateCallback(editor, file), false) instanceof XmlZenCodingGenerator; }