Search in sources :

Example 1 with ShowAllAffectedGenericAction

use of com.intellij.openapi.vcs.annotate.ShowAllAffectedGenericAction in project intellij-community by JetBrains.

the class GitSkippedCommits method addActionsTo.

@Override
protected void addActionsTo(DefaultActionGroup group) {
    super.addActionsTo(group);
    ShowAllAffectedGenericAction showCommit = ShowAllAffectedGenericAction.getInstance();
    showCommit.registerCustomShortcutSet(new CustomShortcutSet(CommonShortcuts.DOUBLE_CLICK_1.getShortcuts()[0]), myTree);
    group.addAction(showCommit);
}
Also used : CustomShortcutSet(com.intellij.openapi.actionSystem.CustomShortcutSet) ShowAllAffectedGenericAction(com.intellij.openapi.vcs.annotate.ShowAllAffectedGenericAction)

Aggregations

CustomShortcutSet (com.intellij.openapi.actionSystem.CustomShortcutSet)1 ShowAllAffectedGenericAction (com.intellij.openapi.vcs.annotate.ShowAllAffectedGenericAction)1