RasterCommandItem( parentControl, command )
Creates a renderable version of aRasterCommand that can be added to a menu
or a toolbar. This constructor should not be used directly. To add commands
to menus and toolbars use RasterMenu.add() and RasterToolbar.add() respectively.
Parameters
| Name | Type | Description | |
|---|---|---|---|
| parentControl | object |
The RasterToolbar or RasterMenu object that contains
this command. |
|
| command |
A RasterCommand object. |