def load_plugin():
<EOL>workbench=get_workbench()<EOL>workbench.set_default("<STR_LIT>", "<STR_LIT>")<EOL>workbench.set_default("<STR_LIT>", "<STR_LIT>")<EOL>workbench.set_default("<STR_LIT>", "<STR_LIT>")<EOL>workbench.add_configuration_page("<STR_LIT>", Ev3ConfigurationPage)<EOL>image_path_remoterun = os.path.join(os.path.dirname(__file__), "<STR_LIT>", "<STR_LIT>")<EOL>image_path_remotedebug = os.path.join(os.path.dirname(__file__), "<STR_LIT>", "<STR_LIT>")<EOL>image_path_upload = os.path.join(os.path.dirname(__file__), "<STR_LIT>", "<STR_LIT>")<EOL>image_path_run = os.path.join(os.path.dirname(__file__), "<STR_LIT>", "<STR_LIT>")<EOL>image_path_log = os.path.join(os.path.dirname(__file__), "<STR_LIT>", "<STR_LIT>")<EOL>image_path_clean = os.path.join(os.path.dirname(__file__), "<STR_LIT>", "<STR_LIT>")<EOL>get_workbench().add_command("<STR_LIT>", "<STR_LIT>", "<STR_LIT>" ,<EOL>get_button_handler_for_magiccmd_on_current_file("<STR_LIT>"),<EOL>currentscript_and_command_enabled,<EOL>default_sequence="<STR_LIT>",<EOL>group=<NUM_LIT:20>,<EOL>image_filename=image_path_remoterun,<EOL>include_in_toolbar=True)<EOL>get_workbench().add_command("<STR_LIT>", "<STR_LIT>", "<STR_LIT>" ,<EOL>get_button_handler_for_magiccmd_on_current_file("<STR_LIT>"),<EOL>currentscript_and_command_enabled,<EOL>default_sequence="<STR_LIT>",<EOL>group=<NUM_LIT:20>,<EOL>image_filename=image_path_remotedebug,<EOL>include_in_toolbar=True)<EOL>get_workbench().add_command("<STR_LIT>", "<STR_LIT>", "<STR_LIT>",<EOL>patch_ev3,<EOL>command_enabled,<EOL>default_sequence=None,<EOL>group=<NUM_LIT>,<EOL>include_in_toolbar=False)<EOL>get_workbench().add_command("<STR_LIT>", "<STR_LIT>", "<STR_LIT>",<EOL>soft_reset_ev3,<EOL>command_enabled,<EOL>default_sequence=None,<EOL>group=<NUM_LIT>,<EOL>include_in_toolbar=False)<EOL>get_workbench().add_command("<STR_LIT>", "<STR_LIT>", "<STR_LIT>",<EOL>upload_current_script,<EOL>currentscript_and_command_enabled,<EOL>default_sequence="<STR_LIT>",<EOL>group=<NUM_LIT>,<EOL>image_filename=image_path_upload,<EOL>include_in_toolbar=True)<EOL>get_workbench().add_command("<STR_LIT>", "<STR_LIT>", "<STR_LIT>",<EOL>start_current_script,<EOL>currentscript_and_command_enabled,<EOL>default_sequence="<STR_LIT>",<EOL>group=<NUM_LIT>,<EOL>image_filename=image_path_run,<EOL>include_in_toolbar=True)<EOL>get_workbench().add_command("<STR_LIT>", "<STR_LIT>", "<STR_LIT>",<EOL>download_log_of_current_script,<EOL>currentscript_and_command_enabled,<EOL>default_sequence=None,<EOL>group=<NUM_LIT>,<EOL>image_filename=image_path_log,<EOL>include_in_toolbar=True)<EOL>get_workbench().add_command("<STR_LIT>", "<STR_LIT>", "<STR_LIT>",<EOL>cleanup_files_on_ev3,<EOL>command_enabled,<EOL>default_sequence=None,<EOL>group=<NUM_LIT>,<EOL>image_filename=image_path_clean,<EOL>include_in_toolbar=True)<EOL>orig_interrupt_backend=get_runner().interrupt_backend<EOL>def wrapped_interrupt_backend():<EOL><INDENT>orig_interrupt_backend()<EOL>stop_ev3_programs__and__rpyc_motors_sound()<EOL><DEDENT>get_runner().interrupt_backend = wrapped_interrupt_backend<EOL>shell = get_workbench().get_view("<STR_LIT>")<EOL>shell.add_command("<STR_LIT>", _handle_rundebug_from_shell)<EOL>shell.add_command("<STR_LIT>", _handle_rundebug_from_shell)<EOL>shell.add_command("<STR_LIT>", _handle_reset_from_shell)<EOL>shell.add_command("<STR_LIT>", _handle_pwd_from_shell)<EOL>shell.add_command("<STR_LIT>", _handle_cd_from_shell)<EOL>shell.add_command("<STR_LIT>", _handle_ls_from_shell)<EOL>shell.add_command("<STR_LIT>", _handle_help_from_shell)<EOL>shell.add_command("<STR_LIT>", _handle_open_from_shell)<EOL>shell.add_command("<STR_LIT>", _handle_reload_from_shell)<EOL>
Adds EV3 buttons on toolbar and commands under Run and Tools menu. Add EV3 configuration window.