build.cave project and into viz.gfe project. Change-Id: Ic51275064f92a9cf50a15c2fff647b73f0839375 Former-commit-id:4e435000f4
[formerlyee4ba98a26
] [formerlyb8c1bc39f6
] [formerly4e435000f4
[formerlyee4ba98a26
] [formerlyb8c1bc39f6
] [formerly64cde568ab
[formerlyb8c1bc39f6
[formerly cdb1ad6eee96d2b61d35d7d5d727336128827a1b]]]] Former-commit-id:64cde568ab
Former-commit-id:045491313b
[formerly04f2c165da
] [formerly 1b90a2df9873e55a268e580ba1f09800d20b2e83 [formerlye311062ae2
]] Former-commit-id: f29af57fc913c738fcf9c6d1d6be6fe89a404792 [formerlya9c59c0a1e
] Former-commit-id:05929b719f
37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
# ----------------------------------------------------------------------------
|
|
# This software is in the public domain, furnished "as is", without technical
|
|
# support, and with no warranty, express or implied, as to its usefulness for
|
|
# any purpose.
|
|
#
|
|
# $itemName
|
|
#
|
|
# Author: $author
|
|
# ----------------------------------------------------------------------------
|
|
|
|
import SmartScript
|
|
|
|
class $itemName(SmartScript.SmartScript):
|
|
def __init__(self, dbss, eaMgr, mdMode=None, toolType="numeric"):
|
|
SmartScript.SmartScript.__init__(self, dbss)
|
|
self.setUp(eaMgr, mdMode, toolType)
|
|
|
|
# Include your utility methods here
|
|
def _myMethod(self):
|
|
print "Executing myMethod"
|
|
return 10
|
|
|
|
# To set up and use this utility:
|
|
#
|
|
# import MyUtility
|
|
#
|
|
# class Tool (SmartScript.SmartScript):
|
|
# def __init__(self, dbss):
|
|
# self._dbss = dbss
|
|
# SmartScript.SmartScript.__init__(self, dbss)
|
|
#
|
|
# def preProcessTool(self):
|
|
# self._myUtility = MyUtility.MyUtility(self._dbss, self.eaMgr())
|
|
#
|
|
# def execute(self):
|
|
# y = self._myUtility._myMethod()
|
|
#
|