rem: this.getLabel     = function() { return loader.getText("typeWD"); } 
add: this.getLabel     = function() { return loader.eval("info[@type='webdav']/long"); } 
context: function WebDav(xmlLoader){	//--- call super constructor	Harvester.call(this);		var loader= xmlLoader;	var model = new wd.Model(loader);	var view  = new wd.View(loader);		//--- public methods		this.refreshGroups  = refreshGroups;	this.addGroupRow    = addGroupRow;	this.removeGroupRow = view.removeGroupRow;	this.getResultTip   = view.getResultTip;			this.model = model;	this.view  = view;//=====================================================================================//===//=== API methods//===//=====================================================================================this.getType      = function() { return "webdav"; }this.getLabel     = function() { return loader.getText("typeWD"); }this.getEditPanel = function() { return "wd.editPanel"; }//=====================================================================================function refreshGroups(){	model.retrieveGroups(Env.lang, ker.wrap(this, refreshGroups_OK));}//-------------------------------------------------------------------------------------function refreshGroups_OK(data){	view.clearGroups();			for (var i=0; i<data.length; i++)		view.addGroup(data[i].ID, data[i].NAME);				}//=====================================================================================function addGroupRow(){	var groups = view.getSelectedGroups();		if (groups.length == 0) alert(loader.getText('pleaseSelectGroup'));		else						view.addEmptyGroupRows(groups);}//=====================================================================================}
meta: 6986	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6986/548af8b00b9176434810d39b5ef63227427ad1e1/webdav.js/buggy/web/scripts/harvesting/webdav/webdav.js