void (CreateFromTemplateDialog dialog, PsiElement createdElement) { final PropertiesComponent propertiesComponent = PropertiesComponent.getInstance(); final Properties properties = dialog.getEnteredProperties(); final String author = properties.getProperty("Author"); if (author != null) { propertiesComponent.setValue(AUTHOR_PROPERTY, author); } final String authorEmail = properties.getProperty("Author_email"); if (authorEmail != null) { propertiesComponent.setValue(EMAIL_PROPERTY, authorEmail); } }