bundles/org.eclipse.orion.client.ui/web/orion/commandRegistry.js
function CommandRegistry(options) {
		this._commandList = {};
		this._contributionsByScopeId = {};
		this._activeBindings = {};
		this._urlBindings = {};
		this._pendingBindings = {}; // bindings for as-yet-unknown commands
		this._parameterCollector = null;
		this._init(options || {});
	}
function CommandRegistry(options) {
		this._commandList = {};
		this._contributionsByScopeId = {};
		this._activeBindings = {};
		this._urlBindings = {};
		this._pendingBindings = {}; // bindings for as-yet-unknown commands
		this._parameterCollector = null;
		this._init(options || {});
	}
function CommandRegistry ( options ) { this . _commandList = { } ; this . _contributionsByScopeId = { } ; this . _activeBindings = { } ; this . _urlBindings = { } ; this . _pendingBindings = { } ; // bindings for as-yet-unknown commands this . _parameterCollector = null ; this . _init ( options || { } ) ; }
Constructs a new command registry with the given options.
@class CommandRegistry can render commands appropriate for a particular scope and DOM element.
@name orion.commandregistry.CommandRegistry
@param {Object} options The registry options object
@param {orion.selection.Selection} [options.selection] Optional selection service.
Constructs a new command registry with the given options .