function newImageCallback(e) {
  var eventData = e.detail;
  var element = eventData.element;

  deselectAllTools(element);
}
/**
* Event handler for NEW_IMAGE event.
*
* @param {Object} e - The event.
*/
Event handler for NEW_IMAGE event.
Event handler for NEW_IMAGE event .
function newImageCallback(e) {
  var eventData = e.detail;
  var element = eventData.element;
  deselectAllTools(element);
}
function newImageCallback ( e ) { var eventData = e . detail ; var element = eventData . element ; deselectAllTools ( element ) ; }
Event handler for NEW_IMAGE event.
Event handler for NEW_IMAGE event .