Pointer to main editor object used to initialize
Unique id of the command
Whether the command is in memory.
Human readable name of the command
Optional
newOptional
objectOptional
oldType of the command
Whether the command is updatable.
If the command is NOT updatable, it's added as a new part of the history
Execute the command, if possible.
If the command is executed successfully, return void
. Otherwise, throw an error.
Creates a new instance of this class based on the given JSON.
E2E test method.
This method should return true
if the test passes, and false
if it fails.
Check the method itself for more information.
Returns a JSON representation of this class.
Undo the command.
If the command is executed successfully, return void
. Otherwise, throw an error.
Set scale command.