void (@NotNull TextMateConfigurableData settings) { Set<TextMateConfigurableBundle> state = settings.getConfigurableBundles(); if (myBundlesListPanel.isModified(state)) { settings.applySettings(myBundlesListPanel.getState()); ProgressManager.getInstance().run(new Task.Backgroundable(null, TextMateBundle.message("textmate.loading.bundles.title"), false, PerformInBackgroundOption.ALWAYS_BACKGROUND) { @Override public void run(@NotNull ProgressIndicator indicator) { TextMateService.getInstance().reloadEnabledBundles(); } }); } }