bundles/org.eclipse.orion.client.ui/web/orion/explorers/explorer.js
function SimpleFlatModel(items, idPrefix, getKey) {
		this.items = items;
		this.getKey = getKey;
		this.idPrefix = idPrefix;
		this.root = {children: items};
	}
function SimpleFlatModel(items, idPrefix, getKey) {
		this.items = items;
		this.getKey = getKey;
		this.idPrefix = idPrefix;
		this.root = {children: items};
	}
function SimpleFlatModel ( items , idPrefix , getKey ) { this . items = items ; this . getKey = getKey ; this . idPrefix = idPrefix ; this . root = { children : items } ; }
Creates a new flat model based on an array of items already known.

@name orion.explorer.SimpleFlatModel
@param {Array} items the items in the model
@param {String} idPrefix string used to prefix generated id's
@param {Function} getKey function used to get the property name used for generating an id in the model
Creates a new flat model based on an array of items already known .