Executes the specified command on this schedule.
Namespace: com.mindfusion.scheduling.model
Package: com.mindfusion.scheduling.model
Java Copy Code |
---|
public void executeCommand ( |
The Command to execute.
If undo/redo is enabled, the command is saved in the undo history or added to the active composite command.
AddItemCommand and RemoveItemCommand objects are created automatically by the control when adding or removing items, both programmatically or interactively. Calling this method explicitly could be necessary in order to save item's state for later undo using a ChangeItemCommand, or to run a custom operation represented by a class derived from Command.