Class Index | File Index

Classes


Class orion.explorer.Explorer

A table-based explorer component.
Defined in: </shared/eclipse/e4/orion/I201404012230/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)
Expand all the nodes under a node in the explorer
 
 
 
 
getRow(item)
 
 
makeNewItemPlaceHolder(item, domId, column_no, insertAfter)
 
 
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)
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

getNavDict()

getNavHandler()

getRootPath()

getRow(item)
Parameters:
item

initNavHandler()

makeNewItemPlaceHolder(item, domId, column_no, insertAfter)
Parameters:
item
domId
column_no
insertAfter

refreshSelection()

updateCommands(item)
Parameters:
item

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Apr 01 2014 22:58:23 GMT-0400 (EDT)