Xׯd7^ddlZddlZddlmZmZGddeZGddeZdS)N) WizardPageWizardProgressPagec&eZdZdZdZdZdZdS)MigrationOptionsViewcDtj||d|j|ddt jd}|j|ddt jtj }| d|j|ddt j d|_ ||j |j d|j dg|_dS) NzMigration OptionsObjectMigrationzGSelect options for the migration of the source schema/schemas to MySQL.FTzDBMS Specific Options )r__init__mainadd_wizard_pagemformsnewLabelcontentaddnewPanelTitledBoxPanel set_titlenewBox_db_options_box set_padding set_spacing _db_options)selfr labelpanels (..\modules\migration_object_migration.pyr zMigrationOptionsView.__init__sD$(;<<< !!$(9;NOOO ijj t,,, 566 /000 t,,,%}U33 $&''' ((,,, ((+++c$|r|jD] \}}}|j|!t|jjjdr|jjj|jjj }| |j||_|js|j dn|j dtj ||S)NmigrationOptionsFT)rrremovehasattrr planmigrationSource module_rer statecreate_optionsshowr page_advanced)r advancingitemnamegetteroptionss rr)z"MigrationOptionsView.page_advanced0s  4&*&6 2 2"dF$++D1111ty~5??AACUVV 4).8BBDDUUVZV_VdVjkk#'#6#6t7KW#U#U '4(--e4444(--d333'i888rc g}|D]}d}|jdkrQtj}||jdk||dd|j}n?|jdkr tjd}|d|tj |j ddtj }| |j||ddtj |j } | tj|| dd||dd|}|j}n(t!jdd|jd |jd ||p||j|f|S) Nboolean1FTstringr MigrationWizardz>migrationOption() for source has an invalid parameter of type z ()) paramTyper newCheckBox set_active defaultValuerget_string_valuerrrcaption newTextEntry set_value description set_styleSmallHelpTextStylegrt send_errorr,append) rboxr.optlistoptioncontoptr-hboxls rr'z#MigrationOptionsView.create_optionsAs ? ?FD9,,(**t0C7888UD)))-!X--}T**  ###88%FFF)++ f1222dD)))OF$677 F5666E4(((eT***-00~D~N~N~NPVP[P[P[3\]]] NNDKCf= > > > >rc|jjjj}|jD]\}}}|||<t j|dSN)r r#r&objectMigrationParamsrrgo_next)rdicr+r,r-s rrMzMigrationOptionsView.go_next^sRin"8"&"2 ! ! D$CII4     rN)__name__ __module__ __qualname__r r)r'rMrrrrsP&999":!!!!!rrc&eZdZdZdZdZdZdS)MigrationProgressViewctj||ddd|_||jdd||jdd|j|dddS)N MigrationaReverse engineered objects from the source RDBMS will now be automatically converted into MySQL compatible objects. Default datatype and default column value mappings will be used. You will be able to review and edit generated objects and column definitions in the Manual Editing step.)r=TzMigrate Selected ObjectszGenerate SQL CREATE Statementsr)rr _autostartadd_threaded_task task_migratetask_generate_sqlr r )rr s rr zMigrationProgressView.__init__gs#D$ J+ , , , ,  t02LNhiii t57WYyzzz !!$(9;GGGGGrcB|jjdSrK)r r#migraters rrYz"MigrationProgressView.task_migratets      rcltjdd|jjdS)NrzGenerating SQL...)r@ send_progressr r# generateSQLr]s rrZz'MigrationProgressView.task_generate_sqlxs2 !0111 ""$$$$$rcV|tj|dSrK)resetrgo_backr]s rrczMigrationProgressView.go_back}s& "4(((((rN)rOrPrQr rYrZrcrRrrrTrTfsS H H H!!!%%% )))))rrT)rr@ workbench.uirrrrTrRrrres, 77777777F!F!F!F!F!:F!F!F!T))))).)))))r