Class orion.widgets.Filesystem.BranchSelector
Filesystem switcher.
Defined in: </shared/eclipse/e4/orion/I201402051525/plugins/org.eclipse.orion.client.ui/web/orion/widgets/browse/branchSelector.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
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.BranchSelector.destroy()
|
<static> |
orion.widgets.Filesystem.BranchSelector.refresh(location)
|
<static> |
orion.widgets.Filesystem.BranchSelector.registerCommands()
|
<static> |
orion.widgets.Filesystem.BranchSelector.render()
|
<static> |
orion.widgets.Filesystem.BranchSelector.setActiveBranch(location, location)
|
Class Detail
orion.widgets.Filesystem.BranchSelector()
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.branchChangeListener
- the branchChange event listener that hadles the root change
- {EventTarget} params.branchChangeDispatcher
- the "filesystemChanged" event dispatcher
- {Element} params.node
Method Detail
<static>
orion.widgets.Filesystem.BranchSelector.destroy()
<static>
orion.widgets.Filesystem.BranchSelector.refresh(location)
- Parameters:
- location
<static>
orion.widgets.Filesystem.BranchSelector.registerCommands()
<static>
orion.widgets.Filesystem.BranchSelector.render()
<static>
orion.widgets.Filesystem.BranchSelector.setActiveBranch(location, location)
- Parameters:
- {Object|String} location
- The ChildrenLocation, or an object with a ChildrenLocation field.
- location