bundles/org.eclipse.orion.client.ui/web/orion/edit/editorContext.js
function getOptions(serviceRegistry, serviceID) {
		var options = Object.create(null);
		getReferences(serviceRegistry, serviceID).forEach(function(serviceRef) {
			serviceRef.getPropertyKeys().forEach(function(key) {
				if (key !== "service.id" && key !== "service.names" && key !== "objectClass") //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$
					options[key] = serviceRef.getProperty(key);
			});
		});
		return options;
	}
function getOptions(serviceRegistry, serviceID) {
		var options = Object.create(null);
		getReferences(serviceRegistry, serviceID).forEach(function(serviceRef) {
			serviceRef.getPropertyKeys().forEach(function(key) {
				if (key !== "service.id" && key !== "service.names" && key !== "objectClass") //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$
					options[key] = serviceRef.getProperty(key);
			});
		});
		return options;
	}
function getOptions ( serviceRegistry , serviceID ) { var options = Object . create ( null ) ; getReferences ( serviceRegistry , serviceID ) . forEach ( function ( serviceRef ) { serviceRef . getPropertyKeys ( ) . forEach ( function ( key ) { if ( key !== "service.id" && key !== "service.names" && key !== "objectClass" ) //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$ options [ key ] = serviceRef . getProperty ( key ) ; } ) ; } ) ; return options ; }
Gets the editor context "options" object.
@name orion.edit.EditorContext.getOptions
@function
@param {orion.serviceregistry.ServiceRegistry} serviceRegistry The service registry to consult.
@returns {Object}
Gets the editor context options object .