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

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

Introduction

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

Prototype

String GROUP_DIFF_EDITOR_POPUP

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

Click Source Link

Usage

From source file:com.intellij.diff.tools.util.base.TextDiffViewerUtil.java

License:Apache License

@NotNull
public static List<AnAction> createEditorPopupActions() {
    List<AnAction> result = new ArrayList<AnAction>();
    result.add(ActionManager.getInstance().getAction("CompareClipboardWithSelection"));

    result.add(AnSeparator.getInstance());
    ContainerUtil.addAll(result,/*from   w w  w  .ja v a 2s  . co m*/
            ((ActionGroup) ActionManager.getInstance().getAction(IdeActions.GROUP_DIFF_EDITOR_POPUP))
                    .getChildren(null));

    return result;
}