void () { boolean pluginEnabled = myUi.postfixTemplatesEnabled.isSelected(); myUi.completionEnabledCheckbox.setVisible(!LiveTemplateCompletionContributor.shouldShowAllTemplates()); myUi.completionEnabledCheckbox.setEnabled(pluginEnabled); myUi.shortcutComboBox.setEnabled(pluginEnabled); if (myCheckboxTree != null) { myCheckboxTree.setEnabled(pluginEnabled); } }