AbstractThe controller the object is added to (and removed from on undo).
Protected_Indicates whether the command is undoable and redoable
ReadonlyisIndicated whether the command can be updated
Abstract ReadonlynameName of the command
ProtectedviewerReleases the object of an undone addition for good, its engine objects removed.
Protected Abstract_Protected_Actions to execute during the execute method
Protected_Actions to execute during the undo method
Updates the command with a latest version of the required parameters.
The update method can be called during continuous user interactions (such as mousemove, mousedrag or color changes) where the command to fire can be updated accordingly to the user inputs instead of creating a new command for each value.
Note
Base command for adding a new object to the scene, through its controller. Subclasses implement
_createObjectto build the object; adding it optionally selects it.