bundles/org.eclipse.orion.client.ui/web/orion/outliner.js
function() {
			if (!this._isActive()) {
				return;
			}
			
			this._filterInput.value = ""; //$NON-NLS-0$
			lib.empty(this._outlineNode);
			
			// display spinner while outline is being calculated
			var spinner = document.createElement("span"); //$NON-NLS-0$
			spinner.classList.add("modelDecorationSprite"); //$NON-NLS-0$
			spinner.classList.add("core-sprite-progress"); //$NON-NLS-0$
			this._outlineNode.appendChild(spinner);
			
			if (this._outlineTimeout) {
				window.clearTimeout(this._outlineTimeout);
			}
			this._outlineTimeout = window.setTimeout(function() {
				lib.empty(this._outlineNode);
				var span = document.createElement("span"); //$NON-NLS-0$
				span.appendChild(document.createTextNode(messages["outlineTimeout"])); //$NON-NLS-0$
				span.classList.add("outlineTimeoutSpan"); //$NON-NLS-0$
				this._outlineNode.appendChild(span);
			}.bind(this), OUTLINE_TIMEOUT_MS);
			
			// Bail we're in the process of looking up capable providers
			if (this._providerLookup) {
				return;
			}
			this._outlineService.emitOutline(this._inputManager);
		}
function() {
			if (!this._isActive()) {
				return;
			}
			
			this._filterInput.value = ""; //$NON-NLS-0$
			lib.empty(this._outlineNode);
			
			// display spinner while outline is being calculated
			var spinner = document.createElement("span"); //$NON-NLS-0$
			spinner.classList.add("modelDecorationSprite"); //$NON-NLS-0$
			spinner.classList.add("core-sprite-progress"); //$NON-NLS-0$
			this._outlineNode.appendChild(spinner);
			
			if (this._outlineTimeout) {
				window.clearTimeout(this._outlineTimeout);
			}
			this._outlineTimeout = window.setTimeout(function() {
				lib.empty(this._outlineNode);
				var span = document.createElement("span"); //$NON-NLS-0$
				span.appendChild(document.createTextNode(messages["outlineTimeout"])); //$NON-NLS-0$
				span.classList.add("outlineTimeoutSpan"); //$NON-NLS-0$
				this._outlineNode.appendChild(span);
			}.bind(this), OUTLINE_TIMEOUT_MS);
			
			// Bail we're in the process of looking up capable providers
			if (this._providerLookup) {
				return;
			}
			this._outlineService.emitOutline(this._inputManager);
		}
function ( ) { if ( ! this . _isActive ( ) ) { return ; } this . _filterInput . value = "" ; //$NON-NLS-0$ lib . empty ( this . _outlineNode ) ; // display spinner while outline is being calculated var spinner = document . createElement ( "span" ) ; //$NON-NLS-0$ spinner . classList . add ( "modelDecorationSprite" ) ; //$NON-NLS-0$ spinner . classList . add ( "core-sprite-progress" ) ; //$NON-NLS-0$ this . _outlineNode . appendChild ( spinner ) ; if ( this . _outlineTimeout ) { window . clearTimeout ( this . _outlineTimeout ) ; } this . _outlineTimeout = window . setTimeout ( function ( ) { lib . empty ( this . _outlineNode ) ; var span = document . createElement ( "span" ) ; //$NON-NLS-0$ span . appendChild ( document . createTextNode ( messages [ "outlineTimeout" ] ) ) ; //$NON-NLS-0$ span . classList . add ( "outlineTimeoutSpan" ) ; //$NON-NLS-0$ this . _outlineNode . appendChild ( span ) ; } . bind ( this ) , OUTLINE_TIMEOUT_MS ) ; // Bail we're in the process of looking up capable providers if ( this . _providerLookup ) { return ; } this . _outlineService . emitOutline ( this . _inputManager ) ; }
Invokes the outline service to produce an outline
Invokes the outline service to produce an outline