Class orion.fileCommands
This class contains static utility methods for creating and managing commands
related to file management.
Defined in: </shared/eclipse/e4/orion/I201107200200/plugins/org.eclipse.orion.client.core/web/orion/fileCommands.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Utility methods
|
Method Attributes | Method Name and Description |
---|---|
createFileCommands(serviceRegistry, commandService, explorer, fileClient, toolbarId)
Creates the commands related to file management.
|
|
Updates the explorer tool bar
|
Method Detail
createFileCommands(serviceRegistry, commandService, explorer, fileClient, toolbarId)
Creates the commands related to file management.
- Parameters:
- {orion.serviceregistry.ServiceRegistry} serviceRegistry
- The service registry to use when creating commands
- {orion.commands.CommandService} commandService
- The command service to get commands from
- {orion.explorer.Explorer} explorer
- The explorer view to add commands to
- {orion.fileClient.FileClient} fileClient
- The file system client that the commands should use
- {String} toolbarId
- The id of the toolbar to add commands to
updateNavTools()
Updates the explorer tool bar