Class eclipse.Command
A command is an object that describes an action a user can perform, as well as when and
what it should look like when presented in various contexts. Commands are identified by a
unique id.
Defined in: </shared/eclipse/e4/orion/I201106010943/plugins/org.eclipse.orion.client.core/static/js/commands.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
eclipse.Command(options)
Constructs a new command with the given options.
|
Method Attributes | Method Name and Description |
---|---|
<inner> |
Command(options)
|
getChoices(items, handler, userData)
|
|
hasImage()
|
|
makeChoiceCallback(choice, items)
|
|
populateChoicesMenu(menu, items, handler, userData)
|
Class Detail
eclipse.Command(options)
Constructs a new command with the given options.
- Parameters:
- {Object} options
- The command options object
Method Detail
<inner>
Command(options)
- Parameters:
- options
getChoices(items, handler, userData)
- Parameters:
- items
- handler
- userData
hasImage()
makeChoiceCallback(choice, items)
- Parameters:
- choice
- items
populateChoicesMenu(menu, items, handler, userData)
- Parameters:
- menu
- items
- handler
- userData