RasterCommand.setEnabled( enabled )
Updates the 'enabled' state of all toolbar and menus containing an item associated with this command.Parameters
| Name | Type | Description | |
|---|---|---|---|
| enabled | boolean |
True marks command items associated with this
command as enabled. False disables them. |
Returns
| Type | Description |
|---|---|
| object | The command object. This allow for chaining multiple setter methods in one single statement. |