void () { if (myCheckboxTree != null) { MultiMap<PostfixTemplateProvider, PostfixTemplate> templatesMap = getProviderToTemplatesMap(); myCheckboxTree.initTree(templatesMap); myCheckboxTree.setDisabledTemplatesState(myTemplatesSettings.getProviderToDisabledTemplates()); myUi.postfixTemplatesEnabled.setSelected(myTemplatesSettings.isPostfixTemplatesEnabled()); myUi.completionEnabledCheckbox.setSelected(myTemplatesSettings.isTemplatesCompletionEnabled()); myUi.shortcutComboBox.setSelectedItem(shortcutToString((char)myTemplatesSettings.getShortcut())); resetDescriptionPanel(); updateComponents(); } }