bundles/org.eclipse.orion.client.ui/web/orion/explorers/explorer-table.js
function FileModel(serviceRegistry, root, fileClient, idPrefix, excludeFiles, excludeFolders, filteredResources) {
		this.registry = serviceRegistry;
		this.root = root;
		this.fileClient = fileClient;
		this.idPrefix = idPrefix || "";
		if (typeof this.idPrefix !== "string") {
			this.idPrefix = this.idPrefix.id;
		}
		this.excludeFiles = Boolean(excludeFiles);
		this.excludeFolders = Boolean(excludeFolders);
		if(!this.filteredResources) {
			//is set from project nav not via arguments
			this.filteredResources = filteredResources;
		}
		this.filter = new FileFilter(this.filteredResources);
		this._annotations = [];
		// Listen to annotation changed events
		this._annotationChangedHandler = this._handleAnnotationChanged.bind(this)
		this.fileClient.addEventListener('AnnotationChanged', this._annotationChangedHandler);
	}
function FileModel(serviceRegistry, root, fileClient, idPrefix, excludeFiles, excludeFolders, filteredResources) {
		this.registry = serviceRegistry;
		this.root = root;
		this.fileClient = fileClient;
		this.idPrefix = idPrefix || "";
		if (typeof this.idPrefix !== "string") {
			this.idPrefix = this.idPrefix.id;
		}
		this.excludeFiles = Boolean(excludeFiles);
		this.excludeFolders = Boolean(excludeFolders);
		if(!this.filteredResources) {
			//is set from project nav not via arguments
			this.filteredResources = filteredResources;
		}
		this.filter = new FileFilter(this.filteredResources);
		this._annotations = [];
		// Listen to annotation changed events
		this._annotationChangedHandler = this._handleAnnotationChanged.bind(this)
		this.fileClient.addEventListener('AnnotationChanged', this._annotationChangedHandler);
	}
function FileModel ( serviceRegistry , root , fileClient , idPrefix , excludeFiles , excludeFolders , filteredResources ) { this . registry = serviceRegistry ; this . root = root ; this . fileClient = fileClient ; this . idPrefix = idPrefix || "" ; if ( typeof this . idPrefix !== "string" ) { this . idPrefix = this . idPrefix . id ; } this . excludeFiles = Boolean ( excludeFiles ) ; this . excludeFolders = Boolean ( excludeFolders ) ; if ( ! this . filteredResources ) { //is set from project nav not via arguments this . filteredResources = filteredResources ; } this . filter = new FileFilter ( this . filteredResources ) ; this . _annotations = [ ] ; // Listen to annotation changed events this . _annotationChangedHandler = this . _handleAnnotationChanged . bind ( this ) this . fileClient . addEventListener ( 'AnnotationChanged' , this . _annotationChangedHandler ) ; }
Tree model used by the FileExplorer
@param {?} serviceRegistry The backing registry
@param {?} root The root item for the model
@param {FileClient} fileClient The backing FileClient instance
@param {string} idPrefix The prefix to  use for the new model nodes
@param {boolean} excludeFiles The optional flag for if files should be left out of the model
@param {boolean} excludeFolders The optional flag for if folders should be left out of the model
@param {?} filteredResources The optional map of names to be left out of the model (filtered)
Tree model used by the FileExplorer