Search in sources :

Example 1 with DebuggerSettingsCategory

use of com.intellij.xdebugger.settings.DebuggerSettingsCategory in project intellij-community by JetBrains.

the class DebuggerConfigurable method computeMergedConfigurables.

private static void computeMergedConfigurables(@NotNull DebuggerConfigurableProvider[] providers, @NotNull List<Configurable> result) {
    for (DebuggerSettingsCategory category : MERGED_CATEGORIES) {
        List<Configurable> configurables = getConfigurables(category, providers);
        if (!configurables.isEmpty()) {
            String id = category.name().toLowerCase(Locale.ENGLISH);
            result.add(new MergedCompositeConfigurable("debugger." + id, XDebuggerBundle.message("debugger." + id + ".display.name"), configurables.toArray(new Configurable[configurables.size()])));
        }
    }
}
Also used : DebuggerSettingsCategory(com.intellij.xdebugger.settings.DebuggerSettingsCategory) Configurable(com.intellij.openapi.options.Configurable) SearchableConfigurable(com.intellij.openapi.options.SearchableConfigurable)

Aggregations

Configurable (com.intellij.openapi.options.Configurable)1 SearchableConfigurable (com.intellij.openapi.options.SearchableConfigurable)1 DebuggerSettingsCategory (com.intellij.xdebugger.settings.DebuggerSettingsCategory)1