rem: var toolbar = new Ext.Gemma.AnnotationToolBar( "bmAnnotator", Ext.Gemma.BioMaterialGrid.grid, { 
add: var toolbar = new Ext.Gemma.AnnotationToolBar( Ext.Gemma.BioMaterialGrid.grid, { 
context: Ext.onReady( function() {	var bmId = dwr.util.getValue("bmId");		/* here we reference the grid defined in BioMaterialGrid.js.	 */	var toolbar = new Ext.Gemma.AnnotationToolBar( "bmAnnotator", Ext.Gemma.BioMaterialGrid.grid, {		createHandler : function( characteristic, callback ) {			OntologyService.saveBioMaterialStatement( characteristic, [bmId], callback );		},		deleteHandler : function( ids, callback ) {			OntologyService.removeBioMaterialStatement( ids, [bmId], callback );		}	} );} );
meta: 2891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2891/d109eea1e59fbb030ac98e95f181f72da9611a48/BioMaterialToolBar.js/clean/gemma-web/src/main/webapp/scripts/ajax/annotation/BioMaterialToolBar.js