void (@Nullable FileTemplate template, @Nullable Supplier<String> defaultDescription, boolean internalTemplate) { defaultDescriptionUrl = defaultDescription; myTemplate = template; if (myMainPanel != null) { reset(); updateTopPanel(internalTemplate); myNameField.selectAll(); myExtensionField.selectAll(); myFileName.setPlaceholder(IdeBundle.message(template != null && FileTemplateBase.isChild(template) ? "template.file.name" : "template.file.name.optional")); } }