Package Products :: Package ZenUtils
[hide private]
[frames] | no frames]

Source Code for Package Products.ZenUtils

 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 as published by 
 8  # the Free Software Foundation. 
 9  # 
10  # For complete information please visit: http://www.zenoss.com/oss/ 
11  # 
12  ########################################################################### 
13  from Products.CMFCore.DirectoryView import registerDirectory 
14  registerDirectory('js', globals()) 
15   
16  # import any monkey patches that may be necessary 
17  from patches import pasmonkey 
18  from patches import dirviewmonkey 
19  from Products.ZenUtils.Utils import unused 
20  unused(pasmonkey, dirviewmonkey) 
21   
22  from Products.ZenUtils.MultiPathIndex import MultiPathIndex , \ 
23                                               manage_addMultiPathIndex, \ 
24                                               manage_addMultiPathIndexForm 
25   
26 -def initialize(context):
27 context.registerClass( 28 MultiPathIndex, 29 permission='Add Pluggable Index', 30 constructors=(manage_addMultiPathIndexForm, manage_addMultiPathIndex), 31 #icon="www/index.gif", 32 visibility=None)
33