info.stopProcessAction = stopProcessAction;
actionGroup.addAction(stopProcessAction);
actionGroup.add(PinToolwindowTabAction.getPinAction());
final AnAction closeContentAction = new CloseActiveTabAction();
closeContentAction.getTemplatePresentation().setIcon(AllIcons.Actions.Cancel);
closeContentAction.getTemplatePresentation().setText(UIBundle.message("tabbed.pane.close.tab.action.name"));
actionGroup.add(closeContentAction);
final ActionToolbar toolbar = ActionManager.getInstance().createActionToolbar(ActionPlaces.UNKNOWN, actionGroup, false);
toolbar.setTargetComponent(info.console.getComponent());
return toolbar;