本文整理汇总了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)
示例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. "))
示例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)
示例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)
示例5: __init__
def __init__(self, context, request, report=None):
self.report = report
BrowserView.__init__(self, context, request)
示例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."))
示例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
示例8: __init__
def __init__(self, context, request):
BrowserView.__init__(self, context, request)
示例9: __init__
def __init__(self, context, request):
BrowserView.__init__(self, context, request)
self.icon = self.portal_url + "/++resource++bika.lims.images/referencesample_big.png"
示例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
示例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. ")
示例12: __init__
def __init__(self, context, request):
BrowserView.__init__(self, context, request)
self.context = context
self.request = request
示例13: __init__
def __init__(self, context, request):
BrowserView.__init__(self, context, request)
self.dashboard_cookie = None
self.member = None