code: def get_additional_actions(self, reftrack):
          
          refobj = reftrack.get_refobj()
          select_dp_action = ReftrackAction("Select Nodes", partial(select_dp_nodes, reftrack=reftrack), enabled=bool(refobj))
          select_dag_action = ReftrackAction("Select DAG", partial(select_dag_nodes, reftrack=reftrack), enabled=bool(refobj))
          return [select_dp_action, select_dag_action]
docs: Return a list of additional actions you want to provide for the menu
          of the reftrack.
  
          E.e. you want to have a menu entry, that will select the entity in your programm.
  
          :param reftrack: the reftrack to return the actions for
          :type reftrack: :class:`Reftrack`
          :returns: A list of :class:`ReftrackAction`
          :rtype: list
          :raises: None