void () { for (final ModuleSourceRootEditHandler<?> editor : myEditHandlers) { ToggleSourcesStateAction action = new ToggleSourcesStateAction(myTree, this, editor); CustomShortcutSet shortcutSet = editor.getMarkRootShortcutSet(); if (shortcutSet != null) { action.registerCustomShortcutSet(shortcutSet, myTree); } myEditingActionsGroup.add(action); } setupExcludedAction(); }