def draw_stalker_sequence_menu_item(self, context):
    """draws one menu item
    """
    logger.debug('entity_id   : %s' % self.stalker_entity_id)
    logger.debug('entity_name : %s' % self.stalker_entity_name)

    layout = self.layout

    # get the sequence
    seq = Sequence.query.get(self.stalker_entity_id)

    # add all the child tasks under it
    for scene in sorted(seq.children, key=lambda x: x.name):
        # op = layout.operator(StalkerSceneMenu.bl_idname, text=scene.name)
        # op.stalker_entity_id = scene.id
        # op.stalker_entity_name = scene.name
        idname = idname_template % (scene.entity_type, scene.id)
        layout.menu(idname, text=scene.name)
dataset/ETHPy150Open eoyilmaz/anima/anima/env/blender/reviewer.py/draw_stalker_sequence_menu_item/original