Trees | Indices | Help |
|
---|
|
1 ########################################################################### 2 # 3 # This program is part of Zenoss Core, an open source monitoring platform. 4 # Copyright (C) 2007, Zenoss Inc. 5 # 6 # This program is free software; you can redistribute it and/or modify it 7 # under the terms of the GNU General Public License version 2 or (at your 8 # option) any later version as published by the Free Software Foundation. 9 # 10 # For complete information please visit: http://www.zenoss.com/oss/ 11 # 12 ########################################################################### 13 14 import Globals 15 from AccessControl import Permissions 16 from Products.ZenModel.ZenossSecurity import * 17 18 from Products.ZenRelations.RelSchema import * 19 20 from MibBase import MibBase 2123 24 objects = [] 25 26 27 _properties = MibBase._properties + ( 28 {'id':'objects', 'type':'lines', 'mode':'w'}, 29 ) 30 31 _relations = MibBase._relations + ( 32 ("module", ToOne(ToManyCont, "Products.ZenModel.MibModule", "notifications")), 33 ) 34 35 # Screen action bindings (and tab definitions) 36 factory_type_information = ( 37 { 38 'immediate_view' : 'viewMibNotification', 39 'actions' : 40 ( 41 { 'id' : 'overview' 42 , 'name' : 'Overview' 43 , 'action' : 'viewMibNotification' 44 , 'permissions' : ( Permissions.view, ) 45 }, 46 ) 47 }, 48 )49
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1.1812 on Tue Oct 11 12:51:38 2011 | http://epydoc.sourceforge.net |