def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def getText(self, callingWindow, itmContext, mainItem):
        return "Set {} as Damage Pattern".format(itmContext if itmContext is not None else "Item")