plugin_Node.py 380 B

1234567891011121314
  1. from __future__ import print_function
  2. def setup():
  3. config = dict()
  4. config["pluginType"] = "structuredObject";
  5. config["tagName"] = "Node";
  6. config["functionCall"] = "createElement(element, fc, fh)"
  7. return config
  8. def createElement(element, fc, fh):
  9. print("/* Hello from plugin */", end='\n', file=fc)
  10. #return "default" to execute the default createElement
  11. return "default"