Search in sources :

Example 1 with ToggleExcludedStateAction

use of com.intellij.openapi.roots.ui.configuration.actions.ToggleExcludedStateAction in project intellij-community by JetBrains.

the class ContentEntryTreeEditor method setupExcludedAction.

protected void setupExcludedAction() {
    ToggleExcludedStateAction toggleExcludedAction = new ToggleExcludedStateAction(myTree, this);
    myEditingActionsGroup.add(toggleExcludedAction);
    toggleExcludedAction.registerCustomShortcutSet(new CustomShortcutSet(KeyStroke.getKeyStroke(KeyEvent.VK_E, InputEvent.ALT_MASK)), myTree);
}
Also used : CustomShortcutSet(com.intellij.openapi.actionSystem.CustomShortcutSet) ToggleExcludedStateAction(com.intellij.openapi.roots.ui.configuration.actions.ToggleExcludedStateAction)

Aggregations

CustomShortcutSet (com.intellij.openapi.actionSystem.CustomShortcutSet)1 ToggleExcludedStateAction (com.intellij.openapi.roots.ui.configuration.actions.ToggleExcludedStateAction)1