def draw_stalker_shot_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

    shot = Shot.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)

    # add a menu operator for
    # Add All Task Outputs
    op = layout.operator(
        StalkerShotAddAllTaskOutputsOperator.bl_idname,
        text='Add All Task Outputs'
    )
    op.stalker_entity_id = self.stalker_entity_id
    op.stalker_entity_name = self.stalker_entity_name

    # ------
    # Add a separator
    layout.separator()

    # Previs
    op = layout.operator(
        StalkerShotAddPrevisOutputOperator.bl_idname,
        text='Previs'
    )
    op.stalker_entity_id = self.stalker_entity_id
    op.stalker_entity_name = self.stalker_entity_name

    # Animation
    op = layout.operator(
        StalkerShotAddAnimationOutputOperator.bl_idname,
        text='Animation'
    )
    op.stalker_entity_id = self.stalker_entity_id
    op.stalker_entity_name = self.stalker_entity_name

    # Lighting
    op = layout.operator(
        StalkerShotAddLightingOutputOperator.bl_idname,
        text='Lighting'
    )
    op.stalker_entity_id = self.stalker_entity_id
    op.stalker_entity_name = self.stalker_entity_name

    # Comp
    op = layout.operator(
        StalkerShotAddCompOutputOperator.bl_idname,
        text='Comp'
    )
    op.stalker_entity_id = self.stalker_entity_id
    op.stalker_entity_name = self.stalker_entity_name
dataset/ETHPy150Open eoyilmaz/anima/anima/env/blender/reviewer.py/draw_stalker_shot_menu_item/original