'Return a list of actions related to plugin.'

def get_plugin_actions(self):

    create_client_action = create_action(self, _('Open    an    &IPython    console'), icon=ima.icon('ipython_console'), triggered=self.create_new_client, context=Qt.WidgetWithChildrenShortcut)
    self.register_shortcut(create_client_action, context='ipython_console', name='New    tab')
    restart_action = create_action(self, _('Restart    kernel'), icon=ima.icon('restart'), triggered=self.restart_kernel, context=Qt.WidgetWithChildrenShortcut)
    self.register_shortcut(restart_action, context='ipython_console', name='Restart    kernel')
    connect_to_kernel_action = create_action(self, _('Connect    to    an    existing    kernel'), None, None, _('Open    a    new    IPython    console    connected    to    an    existing    kernel'), triggered=self.create_client_for_kernel)
    rename_tab_action = create_action(self, _('Rename    tab'), icon=ima.icon('rename'), triggered=self.tab_name_editor)
    main_consoles_menu = self.main.consoles_menu_actions
    main_consoles_menu.insert(0, create_client_action)
    main_consoles_menu += [MENU_SEPARATOR, restart_action, connect_to_kernel_action]
    self.menu_actions = [create_client_action, MENU_SEPARATOR, restart_action, connect_to_kernel_action, MENU_SEPARATOR, rename_tab_action]
    return self.menu_actions
