Command.getEnabled
Description
A command is enabled when the user can click on the button as it is colored. Disabled commands are grayed out in the user interface.
Arguments
- scope
-
Scope. The scope state.
Return Value
Boolean. Returns true if this command is enabled.