function MultiSelectionOutline(eventBus, canvas, selection) {
  this._canvas = canvas;

  var self = this;

  eventBus.on('element.changed', function(event) {
    if (selection.isSelected(event.element)) {
      self._updateMultiSelectionOutline(selection.get());
    }
  });

  eventBus.on('selection.changed', function(event) {
    var newSelection = event.newSelection;

    self._updateMultiSelectionOutline(newSelection);
  });
}
@class

A plugin that adds an outline to shapes and connections that may be activated and styled
via CSS classes.

@param {EventBus} eventBus
@param {Canvas} canvas
@param {Selection} selection