Class orion.widgets.Filesystem.FilesystemSwitcher
Filesystem switcher.
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.ui/web/orion/widgets/filesystem/filesystemSwitcher.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
orion.widgets.Filesystem.FilesystemSwitcher(serviceRegistry)
Renders a toolbar that displays the filesystem a MiniNavExplorer is currently viewing,
and provides a menu for changing the filesystem being viewed in the explorer.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
orion.widgets.Filesystem.FilesystemSwitcher.destroy()
|
<static> |
orion.widgets.Filesystem.FilesystemSwitcher.refresh(location)
|
<static> |
orion.widgets.Filesystem.FilesystemSwitcher.registerCommands()
|
<static> |
orion.widgets.Filesystem.FilesystemSwitcher.render()
|
<static> |
orion.widgets.Filesystem.FilesystemSwitcher.setActiveFilesystem(location)
|
Class Detail
orion.widgets.Filesystem.FilesystemSwitcher(serviceRegistry)
Renders a toolbar that displays the filesystem a MiniNavExplorer is currently viewing,
and provides a menu for changing the filesystem being viewed in the explorer.
- Parameters:
- {orion.commands.CommandRegistry} params.commandRegistry
- {orion.fileClient.FileClient} params.fileClient
- {EventTarget} params.rootChangeListener
- the rootChange event listener that hadles the root change
- {EventTarget} params.filesystemChangeDispatcher
- the "filesystemChanged" event dispatcher
- {Element} params.node
- {orion.serviceregistry.ServiceRegistry} serviceRegistry
Method Detail
<static>
orion.widgets.Filesystem.FilesystemSwitcher.destroy()
<static>
orion.widgets.Filesystem.FilesystemSwitcher.refresh(location)
- Parameters:
- location
<static>
orion.widgets.Filesystem.FilesystemSwitcher.registerCommands()
<static>
orion.widgets.Filesystem.FilesystemSwitcher.render()
<static>
orion.widgets.Filesystem.FilesystemSwitcher.setActiveFilesystem(location)
- Parameters:
- {Object|String} location
- The ChildrenLocation, or an object with a ChildrenLocation field.