当前位置: 首页>>代码示例>>Python>>正文


Python browser.BrowserView类代码示例

本文整理汇总了Python中bika.lims.browser.BrowserView的典型用法代码示例。如果您正苦于以下问题:Python BrowserView类的具体用法?Python BrowserView怎么用?Python BrowserView使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了BrowserView类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

    def __init__(self, context, request):
        BrowserView.__init__(self, context, request)
        self.selection_macros = SelectionMacrosView(context, request)
        self.icon = self.portal_url + "/++resource++bika.lims.images/query_big.png"
        self.getAnalysts = getUsers(context, ['Manager', 'LabManager', 'Analyst'])

        request.set('disable_border', 1)
开发者ID:analytica-labs,项目名称:Bika-LIMS,代码行数:7,代码来源:__init__.py

示例2: __init__

 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.icon = self.portal_url + "/++resource++bika.lims.images/worksheet_big.png"
     self.title = self.context.translate(_("Add Blank Reference"))
     self.description = self.context.translate(_(
                          "Select services in the left column to locate "
                          "reference samples. Select a reference by clicking it. "))
开发者ID:AlcyonSuisse,项目名称:bika.lims,代码行数:7,代码来源:add_blank.py

示例3: __init__

    def __init__(self, context, request):
        BrowserView.__init__(self, context, request)
        self.selection_macros = SelectionMacrosView(context, request)
        self.icon = "++resource++bika.lims.images/query_big.png"
        self.getAnalysts = getUsers(context, ["Manager", "LabManager", "Analyst"])

        request.set("disable_border", 1)
开发者ID:RaulKite,项目名称:Bika-LIMS,代码行数:7,代码来源:__init__.py

示例4: __init__

    def __init__(self, context, request):
        BrowserView.__init__(self, context, request)
        self.context = context
        self.request = request

        # dependencies to resolve
        self.deferred = []

        self.request.set('disable_border', 1)
开发者ID:andersonsmith,项目名称:bika.lims,代码行数:9,代码来源:load_setup_data.py

示例5: __init__

 def __init__(self, context, request, report=None):
     self.report = report
     BrowserView.__init__(self, context, request)
开发者ID:xispa,项目名称:bika.lims,代码行数:3,代码来源:productivity_analysestats.py

示例6: __init__

 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.icon = self.portal_url + "/++resource++bika.lims.images/worksheet_big.png"
     self.title = self.context.translate(_("Add Duplicate"))
     self.description = self.context.translate(_("Select a destinaton position and the AR to duplicate."))
开发者ID:andersonsmith,项目名称:bika.lims,代码行数:5,代码来源:add_duplicate.py

示例7: __init__

 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.icon = self.portal_url + "/++resource++bika.lims.images/sample_big.png"
     self.allow_edit = True
开发者ID:Ammy2,项目名称:Bika-LIMS,代码行数:4,代码来源:sample.py

示例8: __init__

 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
开发者ID:RaulKite,项目名称:Bika-LIMS,代码行数:2,代码来源:analysisrequests.py

示例9: __init__

 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.icon = self.portal_url + "/++resource++bika.lims.images/referencesample_big.png"
开发者ID:fqblab,项目名称:bika.lims,代码行数:3,代码来源:referencesample.py

示例10: __init__

 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.getAnalysts = getUsers(context, ['Manager', 'LabManager', 'Analyst'])
     self.layout_displaylist = WORKSHEET_LAYOUT_OPTIONS
开发者ID:151706061,项目名称:bika.lims,代码行数:4,代码来源:results.py

示例11: __init__

 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.icon = "++resource++bika.lims.images/worksheet_big.png"
     self.title = _("Add Control Reference")
     self.description = _("Select services in the left column to locate "
                          "reference samples. Select a reference by clicking it. ")
开发者ID:RaulKite,项目名称:Bika-LIMS,代码行数:6,代码来源:worksheet.py

示例12: __init__

 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.context = context
     self.request = request
开发者ID:xispa,项目名称:bika.lims,代码行数:4,代码来源:__init__.py

示例13: __init__

 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.dashboard_cookie = None
     self.member = None
开发者ID:xispa,项目名称:bika.lims,代码行数:4,代码来源:dashboard.py


注:本文中的bika.lims.browser.BrowserView类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。