Class orion.explorer.ExplorerFlatModel
Tree model used by orion.explorer.Explorer for flat structures
Defined in: </shared/eclipse/e4/orion/I201107200200/plugins/org.eclipse.orion.client.core/web/orion/explorer.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
orion.explorer.ExplorerFlatModel(rootPath, fetchItems)
Creates a new flat explorer model.
|
Class Detail
orion.explorer.ExplorerFlatModel(rootPath, fetchItems)
Creates a new flat explorer model.
- Parameters:
- {String} rootPath
- path to load tree table root, response should contain a list of items
- {Function} fetchItems
- A function that returns a promise that resolves to the items at the provided location.