List of usage examples for com.intellij.openapi.actionSystem ActionPlaces RUNNER_TOOLBAR
String RUNNER_TOOLBAR
To view the source code for com.intellij.openapi.actionSystem ActionPlaces RUNNER_TOOLBAR.
Click Source Link
From source file:org.perfcake.ide.intellij.editor.IntellijExecutionFactory.java
License:Apache License
@Override public void execute(ScenarioManager scenarioManager) throws Pc4ideException { String actionId = "ChooseRunConfiguration"; AnAction action = ActionManager.getInstance().getAction(actionId); String[] actionIds = ActionManager.getInstance().getActionIds(""); if (action == null) { Notification notification = IntellijUtils .createNotification("Cannot launch scenario", NotificationType.WARNING) .setContent("Cannot locate Intellij launch action"); Notifications.Bus.notify(notification); return;//ww w . ja v a 2 s .com } ActionCallback actionCallback = ActionManager.getInstance().tryToExecute(action, ActionCommand.getInputEvent(actionId), null, ActionPlaces.RUNNER_TOOLBAR, true); }