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

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

Introduction

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

Prototype

String GROUP_NEW

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

Click Source Link

Usage

From source file:com.intellij.ide.actions.WeighingNewActionGroup.java

License:Apache License

@Override
protected ActionGroup getDelegate() {
    if (myDelegate == null) {
        myDelegate = (ActionGroup) ActionManager.getInstance().getAction(IdeActions.GROUP_NEW);
        getTemplatePresentation().setText(myDelegate.getTemplatePresentation().getText());
        setPopup(myDelegate.isPopup());//from   w  w  w .ja va 2  s  .  c  o m
    }
    return myDelegate;
}