code: def get_plugin_actions(self):
          
          self.history_action = create_action(self, _("History..."),
                                         None, ima.icon('history'),
                                         _("Set history maximum entries"),
                                         triggered=self.change_history_depth)
          self.wrap_action = create_action(self, _("Wrap lines"),
                                      toggled=self.toggle_wrap_mode)
          self.wrap_action.setChecked( self.get_option('wrap') )
          self.linenumbers_action = create_action(
                  self, _("Show line numbers"), toggled=self.toggle_line_numbers)
          self.linenumbers_action.setChecked(self.get_option('line_numbers'))
  
          menu_actions = [self.history_action, self.wrap_action,
                          self.linenumbers_action]
          return menu_actions
docs: Return a list of actions related to plugin