Class orion.sidebar.MiniNavViewMode.FilesystemSwitcher
Filesystem switcher.
Defined in: </shared/eclipse/e4/orion/I201310172230/plugins/org.eclipse.orion.client.ui/web/orion/widgets/nav/mini-nav.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
orion.sidebar.MiniNavViewMode.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 |
---|---|
destroy()
|
|
refresh(location)
|
|
render()
|
|
setActiveFilesystem(location)
|
Class Detail
orion.sidebar.MiniNavViewMode.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
- {orion.sidebar.MiniNavExplorer} params.explorer
- {Element} params.node
- {orion.serviceregistry.ServiceRegistry} serviceRegistry
Method Detail
destroy()
refresh(location)
- Parameters:
- location
registerCommands()
render()
setActiveFilesystem(location)
- Parameters:
- {Object|String} location
- The ChildrenLocation, or an object with a ChildrenLocation field.