List of usage examples for com.intellij.openapi.actionSystem IdeActions GROUP_GENERATE
String GROUP_GENERATE
To view the source code for com.intellij.openapi.actionSystem IdeActions GROUP_GENERATE.
Click Source Link
From source file:com.intellij.codeInsight.generation.actions.GenerateAction.java
License:Apache License
private static DefaultActionGroup getGroup() { return (DefaultActionGroup) ActionManager.getInstance().getAction(IdeActions.GROUP_GENERATE); }
From source file:com.intellij.codeInsight.generation.actions.GenerateAction.java
License:Apache License
@Override public void preload() { ((ActionManagerImpl) ActionManager.getInstance()).preloadActionGroup(IdeActions.GROUP_GENERATE); }
From source file:com.sudodev.intellij.reactiveaccessor.PluginRegistration.java
License:Apache License
public void initComponent() { ActionManager am = ActionManager.getInstance(); AccessorAction action = new AccessorAction(); // Passes an instance of your custom TextBoxes class to the registerAction method of the ActionManager class. am.registerAction("ReactiveAccessor", action); // Gets an instance of the WindowMenu action group. DefaultActionGroup windowM = (DefaultActionGroup) am.getAction(IdeActions.GROUP_GENERATE); // Adds a separator and a new menu command to the WindowMenu group on the main menu. windowM.add(action);// w w w . jav a 2s . c om }