spinetoolbox.project_items.tool.commands¶
Undo/redo commands for the Tool project item.
| authors: |
|
|---|---|
| date: | 5.5.2020 |
Module Contents¶
Classes¶
UpdateToolExecuteInWorkCommand |
Command to update Tool execute_in_work setting. |
UpdateToolCmdLineArgsCommand |
Command to update Tool command line args. |
-
class
spinetoolbox.project_items.tool.commands.UpdateToolExecuteInWorkCommand(tool, execute_in_work)[source]¶ Bases:
spinetoolbox.project_commands.SpineToolboxCommandCommand to update Tool execute_in_work setting.
Parameters: - tool (Tool) – the Tool
- execute_in_work (bool) – True or False
-
class
spinetoolbox.project_items.tool.commands.UpdateToolCmdLineArgsCommand(tool, cmd_line_args)[source]¶ Bases:
spinetoolbox.project_commands.SpineToolboxCommandCommand to update Tool command line args.
Parameters: - tool (Tool) – the Tool
- cmd_line_args (list) – list of str args