def METHOD_NAME(self):
    """
    Produce the script items for this widget.
    """
    output = []
    imports = []
    for group in self._groups:
        out, imp = group.METHOD_NAME()
        output += out
        imports += imp
    return output, imports