#NEWLINE# def selectDisclosureSystem( parent , disclosureSystem ) : #NEWLINE# #INDENT# disclosureSystemSelections = disclosureSystem . dir #NEWLINE# if ( ( not disclosureSystemSelections ) and messagebox . askokcancel ( _ ( 'Load disclosure systems' ) , _ ( 'Disclosure systems are provided by plug-ins, no applicable plug-in(s) have been enabled. \n\nPress OK to open the plug-in manager and select plug-in(s) (e.g., validate or EdgarRenderer).' ) ) ) : #NEWLINE# #INDENT# from arelle import DialogPluginManager #NEWLINE# DialogPluginManager . dialogPluginManager ( parent ) #NEWLINE# return None #NEWLINE# #UNINDENT# dialog = DialogOpenArchive ( parent , DISCLOSURE_SYSTEM , disclosureSystem , disclosureSystemSelections , _ ( 'Select Disclosure System' ) , _ ( 'Disclosure System' ) ) #NEWLINE# if ( dialog and dialog . accepted ) : #NEWLINE# #INDENT# return disclosureSystem . selection #NEWLINE# #UNINDENT# return None