Class orion.sidebar.Sidebar
Sidebar that appears alongside an orion.editor.Editor in the Orion IDE.
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.ui/web/orion/sidebar.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
orion.sidebar.Sidebar(params)
|
Field Attributes | Field Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
addViewMode(id, mode)
|
|
getViewMode(id)
|
|
removeViewMode(id)
|
|
setViewMode(id)
|
|
show()
|
|
Class Detail
orion.sidebar.Sidebar(params)
- Parameters:
- {Object} params
- {orion.commandregistry.CommandRegistry} params.commandRegistry
- {orion.preferences.PreferencesService} params.preferences
- {orion.core.ContentTypeRegistry} params.contentTypeRegistry
- {orion.fileClient.FileClient} params.fileClient
- {orion.editor.InputManager} params.editorInputManager
- {orion.outliner.OutlineService} params.outlineService
- {orion.progress.ProgressService} params.progressService
- {orion.selection.Selection} params.selection
- {orion.serviceregistry.ServiceRegistry} params.serviceRegistry
- {Object} params.sidebarNavInputManager Optional
- {Element|String} params.parent
- {Element|String} params.toolbar
- {Element|String} params.switcherScope
Field Detail
{String}
defaultViewMode
Method Detail
addViewMode(id, mode)
- Parameters:
- {String} id
- {orion.sidebar.ViewMode} mode
getActiveViewModeId()
getViewMode(id)
- Parameters:
- {String} id
hideToolbar()
removeViewMode(id)
- Parameters:
- {String} id
renderViewModeMenu()
setViewMode(id)
- Parameters:
- {String} id
show()
showToolbar()