void (ActionEvent e) { final TemplatesPanel ui = new TemplatesPanel(project, templatesManager) { @Override protected boolean onMultipleFields() { return false; } @Nls @Override public String getDisplayName() { return StringUtil.capitalizeWords(UIUtil.removeMnemonic(StringUtil.trimEnd(templatesTitle, ":")), true); } }; ui.setHint(JavaBundle.message("generate.getter.setter.header.visibility.hint.")); ui.selectNodeInTree(templatesManager.getDefaultTemplate()); if (ShowSettingsUtil.getInstance().editConfigurable(panel, ui)) { setComboboxModel(templatesManager, comboBox); } }