use of com.intellij.openapi.roots.ui.configuration.actions.ToggleSourcesStateAction in project intellij-community by JetBrains.
the class ContentEntryTreeEditor method createEditingActions.
protected void createEditingActions() {
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();
}
Aggregations