The StubCommand performs all default operations for a derived version of it.
i.e,it provide stub function for Command.
For e.g, if a derived version of it does not implement the Cancel() entry of Command, the StubCommand.Cancel() will be invoked and it simply does nothing.
Public Member Functions |
|
override bool | IsValid () |
Are the operands for this Command in a valid
state for it to Execute? |
|
override void | Cancel () |
Does nothing. |
|
Properties |
|
override bool |
Cancelable [get] |
Can this Command be canceled before it
completes? Always false. |
override bool MaxCustomControls::CommandSystem::StubCommand::IsValid | ( | ) | [inline] |
Are the operands for this Command in a valid state for it to Execute?
Reimplemented in MaxCustomControls::BaseMaterialControls::ToggleTraversalEmptyMapsCommand, MaxCustomControls::CommandSystem::ConfigAdvancedFilterCommand, MaxCustomControls::CommandSystem::OperateAllFiltersCommand, MaxCustomControls::CommandSystem::ToggleAdvancedFilterCommand, MaxCustomControls::CommandSystem::ToggleFilterCommand, MaxCustomControls::CommandSystem::ToggleLockEditingCommand, MaxCustomControls::CommandSystem::ToggleSelectChildrenCommand, MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand, and MaxCustomControls::MaterialExplorerControls::ToggleDisplayObjectsCommand.
override void MaxCustomControls::CommandSystem::StubCommand::Cancel | ( | ) | [inline] |
Does nothing.
Reimplemented in MaxCustomControls::BaseMaterialControls::ToggleTraversalEmptyMapsCommand, and MaxCustomControls::MaterialExplorerControls::ToggleDisplayObjectsCommand.
override bool
MaxCustomControls::CommandSystem::StubCommand::Cancelable
[get] |
Can this Command be canceled before it completes? Always false.
Reimplemented in MaxCustomControls::BaseMaterialControls::ToggleTraversalEmptyMapsCommand, and MaxCustomControls::MaterialExplorerControls::ToggleDisplayObjectsCommand.