ó Þ@Qc@s^ddlZddlZddlmZmZdefd„ƒYZdefd„ƒYZdS(iÿÿÿÿN(t WizardPagetWizardProgressPagetMigrationOptionsViewcBs,eZd„Zd„Zd„Zd„ZRS(cCsÒtj||dƒ|jj|ddƒtjdƒ}|jj|tt ƒtj tj ƒ}|j dƒ|jj|tt ƒtj tƒ|_|j|jƒ|jjdƒ|jjdƒg|_dS(NsMigration OptionssOBJECT MIGRATIONsHSelect options for the migration of the source schema/schemata to MySQL.sDBMS Specific Optionsi i(Rt__init__tmaintadd_wizard_pagetmformstnewLabeltcontenttaddtFalsetTruetnewPaneltTitledBoxPanelt set_titletnewBoxt_db_options_boxt set_paddingt set_spacingt _db_options(tselfRtlabeltpanel((s(..\modules\migration_object_migration.pyRs cCsÒ|rÂx*|jD]\}}}|jjtƒqWt|jjjjƒdƒrÂ|jjjjƒj |jjj ƒ}|j |j|ƒ|_|js¬|jj t ƒq¿|jj tƒqÂntj||ƒS(NtmigrationOptions(RRtremovetcontthasattrRtplantmigrationSourcet module_reRtstatetcreate_optionstshowR R Rt page_advanced(Rt advancingtitemtnametgettertoptions((s(..\modules\migration_object_migration.pyR!,s' c Cs†g}xy|D]q}d}|jdkritjƒ}|j|jdkƒ|j|ttƒ|j }nö|jdkr<tj tƒ}|j dƒ|jtj |j ƒttƒtjƒ}|j|jƒ|j|ttƒtj |jƒ} | jtjƒ|j| ttƒ|j|ttƒ|}|j }n#tjdd|j|jfƒq |j|pn||j|fƒq W|S(Ntbooleant1tstringitMigrationWizardsEmigrationOption() for source has an invalid parameter of type %s (%s)(tNonet paramTypeRt newCheckBoxt set_activet defaultValueR R R tget_string_valueRRRtcaptiont newTextEntryt set_valuet descriptiont set_styletSmallHelpTextStyletgrtt send_errorR$tappend( RtboxR&toptlisttoptionRtoptR%thboxtl((s(..\modules\migration_object_migration.pyR=s2       #cCsM|jjjj}x'|jD]\}}}|ƒ||s  J