spinetoolbox.project_items.gimlet.commands

Undo/redo commands for the Gimlet project item.

authors:
  1. Savolainen (VTT)
date:

30.4.2020

Module Contents

Classes

UpdateShellCheckBoxCommand Command to update Gimlet shell check box state.
UpdateShellComboboxCommand Command to update Gimlet shell combobox state.
UpdatecmdCommand Command to update Gimlet command line edit.
UpdateWorkDirModeCommand Command to update Gimlet work_in_dir setting.
class spinetoolbox.project_items.gimlet.commands.UpdateShellCheckBoxCommand(gimlet, use_shell)[source]

Bases: spinetoolbox.project_commands.SpineToolboxCommand

Command to update Gimlet shell check box state.

Parameters:
redo(self)[source]
undo(self)[source]
class spinetoolbox.project_items.gimlet.commands.UpdateShellComboboxCommand(gimlet, new_index)[source]

Bases: spinetoolbox.project_commands.SpineToolboxCommand

Command to update Gimlet shell combobox state.

Parameters:
redo(self)[source]
undo(self)[source]
class spinetoolbox.project_items.gimlet.commands.UpdatecmdCommand(gimlet, txt)[source]

Bases: spinetoolbox.project_commands.SpineToolboxCommand

Command to update Gimlet command line edit.

Parameters:
redo(self)[source]
undo(self)[source]
class spinetoolbox.project_items.gimlet.commands.UpdateWorkDirModeCommand(gimlet, work_dir_mode)[source]

Bases: spinetoolbox.project_commands.SpineToolboxCommand

Command to update Gimlet work_in_dir setting.

Parameters:
  • gimlet (Gimlet) – The Gimlet
  • work_dir_mode (bool) – True or False
redo(self)[source]
undo(self)[source]