1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
## Generic Plugin
# MySQL Workbench Plugin
# <description>
# Written in MySQL Workbench %wbversion%
from wb import *
import grt
#import mforms
ModuleInfo = DefineModule(%modulename%, author="Author Name", version="1.0", description="Contains Plugin %pluginname%")
# This plugin takes no arguments
@ModuleInfo.plugin(%pluginname%, caption="Caption", description="description", input=[wbinputs.currentModel()], pluginMenu="Utilities")
@ModuleInfo.export(grt.INT)
def %functionname%():
# Put plugin contents here
return 0
|