The viewer.
The setting to change.
The value to set.
Indicates whether the command is undoable and redoable
ReadonlyisIndicated whether the command can be updated
ReadonlynameName of the command
ProtectedviewerCleans the command footprint.
Protected_Actions to execute during the execute method
Protected_Actions to execute during the undo method
Sets another value, the value to restore on undo kept.
The value to set.
Sets the value of a setting (e.g.
viewer.settings.helpers.gridSize), undoable: undo gives it back the value it had when executed. Updatable, for a value changed continuously (a slider): update changes it again, one step in the history.