Class Index | File Index

Classes


Class orion.explorer.Explorer

A table-based explorer component.
Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.ui/web/orion/explorers/explorer.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
orion.explorer.Explorer(serviceRegistry, selection, renderer, commandRegistry)
Creates a new explorer.
Method Summary
Method Attributes Method Name and Description
 
changedItem(parent, children)
 
Collapse all the nodes in the explorer
 
createTree(parentId, model, options)
Displays tree table containing filled with data provided by given model
 
 
expandAll(nodeModel, excludes)
Expand all the nodes under a node in the explorer
 
 
 
 
getRow(item)
 
handleLinkDoubleClick(linkNode, doubleClickEvt)
 
 
 
 
makeNewItemPlaceholder(item, domId, insertAfter)
 
 
select(item, toggle)
 
setRenderer(renderer)
 
Class Detail
orion.explorer.Explorer(serviceRegistry, selection, renderer, commandRegistry)
Creates a new explorer.
Parameters:
{orion.serviceregistry.ServiceRegistry} serviceRegistry
The service registry to use for any services required by the explorer
{orion.selection.Selection} selection
The initial selection
renderer
{orion.commandregistry.CommandRegistry} commandRegistry
The command registry to use for commands. Optional.
Method Detail
changedItem(parent, children)
Parameters:
parent
children

collapseAll()
Collapse all the nodes in the explorer

createTree(parentId, model, options)
Displays tree table containing filled with data provided by given model
Parameters:
{String|Element} parentId
id of parent dom element, or the element itself
{Object} model
providing data to display
{Object} options
optional parameters of the tree(custom indent, onCollapse callback)

destroy()

expandAll(nodeModel, excludes)
Expand all the nodes under a node in the explorer
Parameters:
nodeModel
{Object} the node model to be expanded. If not provided the whole tree is expanded recursively
excludes

getNavDict()

getNavHandler()

getRootPath()

getRow(item)
Parameters:
item

handleLinkDoubleClick(linkNode, doubleClickEvt)
Parameters:
linkNode
doubleClickEvt

initNavHandler()

isDesktopSelectionMode()

isEditorTabsEnabled()

makeNewItemPlaceholder(item, domId, insertAfter)
Parameters:
item
domId
insertAfter

refreshSelection()

select(item, toggle)
Parameters:
item
toggle

setRenderer(renderer)
Parameters:
renderer

updateCommands(item)
Parameters:
item

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Jun 29 2017 14:37:21 GMT-0400 (EDT)