private JComponent createToolbar() {
    MqRefreshAction mqRefreshAction = new MqRefreshAction();
    ActionUtil.mergeFrom(mqRefreshAction, "hg4idea.QRefresh");

    MqDeleteAction mqDeleteAction = new MqDeleteAction();
    ActionUtil.mergeFrom(mqDeleteAction, "hg4idea.QDelete");

    PopupHandler.installPopupMenu(myPatchTable, POPUP_ACTION_GROUP, ActionPlaces.PROJECT_VIEW_POPUP);

    ActionManager actionManager = ActionManager.getInstance();

    DefaultActionGroup toolbarGroup = new DefaultActionGroup();
    toolbarGroup.add(mqRefreshAction);
    toolbarGroup.add(actionManager.getAction("Hg.MQ.Unapplied"));
    toolbarGroup.add(mqDeleteAction);

    ActionToolbar toolbar = actionManager.createActionToolbar(TOOLBAR_ACTION_GROUP, toolbarGroup, false);
    toolbar.setTargetComponent(this);
    return toolbar.getComponent();
  }
private JComponent createToolbar()