awips2/cave/com.raytheon.viz.gfe/scriptTemplates/textUtility.vm
David Gillingham a8dbc17376 Issue #2033: Move GFE-specific localization files and other misc. code out of
build.cave project and into viz.gfe project.

Change-Id: Ic51275064f92a9cf50a15c2fff647b73f0839375

Former-commit-id: 4e435000f4 [formerly ee4ba98a26] [formerly b8c1bc39f6] [formerly 4e435000f4 [formerly ee4ba98a26] [formerly b8c1bc39f6] [formerly 64cde568ab [formerly b8c1bc39f6 [formerly cdb1ad6eee96d2b61d35d7d5d727336128827a1b]]]]
Former-commit-id: 64cde568ab
Former-commit-id: 045491313b [formerly 04f2c165da] [formerly 1b90a2df9873e55a268e580ba1f09800d20b2e83 [formerly e311062ae2]]
Former-commit-id: f29af57fc913c738fcf9c6d1d6be6fe89a404792 [formerly a9c59c0a1e]
Former-commit-id: 05929b719f
2013-09-16 12:50:04 -05:00

32 lines
No EOL
901 B
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}.py
#
# Author: $author
# ----------------------------------------------------------------------------
import TextRules
import SampleAnalysis
import time, string
class ${itemName}(TextRules.TextRules, SampleAnalysis.SampleAnalysis):
def __init__(self):
TextRules.TextRules.__init__(self)
SampleAnalysis.SampleAnalysis.__init__(self)
# Include your utility methods here
def p_myMethod(self):
return 10
## To set up and use this utility:
##
## import MyUtility
##
## Then, in your TextProduct methods:
##
## self.p_myUtility = MyUtility.MyUtility()
## y = self.p_myUtility.p_myMethod()
##