Example usage for com.intellij.openapi.actionSystem IdeActions GROUP_ANALYZE

List of usage examples for com.intellij.openapi.actionSystem IdeActions GROUP_ANALYZE

Introduction

In this page you can find the example usage for com.intellij.openapi.actionSystem IdeActions GROUP_ANALYZE.

Prototype

String GROUP_ANALYZE

To view the source code for com.intellij.openapi.actionSystem IdeActions GROUP_ANALYZE.

Click Source Link

Usage

From source file:com.intellij.packageDependencies.ui.DependenciesPanel.java

License:Apache License

private ActionGroup createTreePopupActions(boolean isRightTree) {
    DefaultActionGroup group = new DefaultActionGroup();
    final ActionManager actionManager = ActionManager.getInstance();
    group.add(actionManager.getAction(IdeActions.ACTION_EDIT_SOURCE));
    group.add(actionManager.getAction(IdeActions.GROUP_VERSION_CONTROLS));

    if (isRightTree) {
        group.add(actionManager.getAction(IdeActions.GROUP_ANALYZE));
        group.add(new AddToScopeAction());
        group.add(new SelectInLeftTreeAction());
        group.add(new ShowDetailedInformationAction());
    } else {/*from w w w.ja v a 2  s.  c  o m*/
        group.add(new RemoveFromScopeAction());
    }

    return group;
}