class _Commands(__CommandEnum): # Tmp hack reset_auto() #Not an enum #Control connect = auto() run = auto() advanced_settings = auto() #UI menu_toggle = auto() button_press = auto() button_hover = auto() slider_release = auto() text_submit = auto() text_change = auto() slider_change = auto() image_press = auto() image_hold = auto() image_release = auto() menu_transform_response = auto() #Structure workspace_response = auto() complex_list_response = auto() complexes_response = auto() structures_deep_update_done = auto() add_to_workspace_done = auto() position_structures_done = auto() complex_add = auto() complex_remove = auto() bonds_add_done = auto() dssp_add_done = auto() complex_updated = auto() selection_changed = auto() compute_hbonds_done = auto() #Stream stream_create_done = auto() stream_feed = auto() stream_feed_done = auto() stream_interrupt = auto() #File directory_response = auto() file_response = auto() file_save_done = auto() #Macro get_macros_response = auto() # Presenter presenter_info_response = auto() presenter_change = auto() controller_transforms_response = auto() #Other add_volume_done = auto() load_file_done = auto() integration = auto()
class _Messages(__CommandEnum): # Tmp hack reset_auto() #Not an enum #Control connect = auto() plugin_list_button_set = auto() #UI menu_update = auto() content_update = auto() node_update = auto() menu_transform_set = auto() menu_transform_request = auto() notification_send = auto() hook_ui_callback = auto() #Structure structures_deep_update = auto() structures_shallow_update = auto() structures_zoom = auto() structures_center = auto() workspace_update = auto() workspace_request = auto() add_to_workspace = auto() complexes_request = auto() complex_list_request = auto() bonds_add = auto() dssp_add = auto() hook_complex_updated = auto() hook_selection_changed = auto() compute_hbonds = auto() #Streams stream_create = auto() stream_feed = auto() stream_destroy = auto() #File directory_request = auto() file_request = auto() file_save = auto() export_files = auto() #Macro save_macro = auto() delete_macro = auto() run_macro = auto() stop_macro = auto() get_macros = auto() # Presenter presenter_info_request = auto() controller_transforms_request = auto() #Other add_volume = auto() open_url = auto() load_file = auto() integration = auto()
class _IntegrationCommands(__CommandEnum): # Tmp hack reset_auto() #Not an enum # Hydrogens hydrogen_add = auto() hydrogen_remove = auto() structure_prep = auto() calculate_esp = auto() minimization_start = auto() minimization_stop = auto() file_export = auto()