#NEWLINE# def load( info ) : #NEWLINE# #INDENT# events . bind ( 'model.setting.validate' , 'provenanceMain' , validateSettings ) #NEWLINE# ext = ResourceExt ( info ) #NEWLINE# events . bind ( 'model.setting.save.after' , 'provenanceMain' , ext . bindModels ) #NEWLINE# events . bind ( 'provenance.initialize' , 'provenanceMain' , info . bindModels ) #NEWLINE# events . trigger ( 'provenance.initialize' , info = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# events . bind ( 'model.file.save' , 'provenanceMain' , ext . fileSaveHandler ) #NEWLINE# events . bind ( 'model.file.save.created' , 'provenanceMain' , ext . fileSaveCreatedHandler ) #NEWLINE# events . bind ( 'model.file.remove' , 'provenance' , ext . fileRemoveHandler )