\r
return {\r
start: function() { sandbox.publish('ready'); },\r
getView: function() {return view;},\r
setCommandEnabled: function(cmd, enabled) {\r
view.find('[data-cmd='+cmd+']').toggleClass('disabled', !enabled);\r
\r
return {\r
start: function() { sandbox.publish('ready'); },\r
getView: function() {return view;},\r
setCommandEnabled: function(cmd, enabled) {\r
view.find('[data-cmd='+cmd+']').toggleClass('disabled', !enabled);\r