# -*- coding: utf-8 # init """SQI Tool for IVA. Adds SQI interface to IVA.""" from SQITool import SQITool as SQITool from Products.iva.Features import _FEATURES from Products.CMFCore.DirectoryView import registerDirectory def enable_sqi(self): """ enable sqi tool """ sqi = SQITool() if not hasattr(self, sqi.id): self._setObject(sqi.id, sqi) # default values _FEATURES['sqi'] = {'prettyName': 'SQI Interface', 'skins_folder':'modules/sqi/sqi_www', # relative to/from IVA folder 'desc':__doc__, 'install_method':enable_sqi, 'management': 'manage_sqi_configure', 'toolid': 'sqitool'} registerDirectory('../../modules/sqi/sqi_www', globals()) # must start from iva folder # EOF